Skip to content

Commit

Permalink
Merge pull request #2871 from saucelabs/add-testcafe-esm-flag-docs
Browse files Browse the repository at this point in the history
docs: Add TestCafe esm option
  • Loading branch information
tianfeng92 authored Jul 30, 2024
2 parents 029f3bb + a0d9263 commit d2fcc2d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/web-apps/automated-testing/testcafe/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -1624,3 +1624,17 @@ suite:
smartRetry:
failedOnly: true
```

---

### `esm`

<p><small>| OPTIONAL | BOOLEAN |</small></p>

When set to `true`, this option enables importing ECMAScript Modules (ESM) that do not support CommonJS. For more information, check the [TestCafe Documentation](https://testcafe.io/documentation/404258/guides/advanced-guides/esm-module-support).

```yaml
suite:
- name: My Saucy Test
esm: true
```

0 comments on commit d2fcc2d

Please sign in to comment.