Skip to content

Commit

Permalink
docs: Add TestCafe esm option
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Jul 30, 2024
1 parent 029f3bb commit a0d9263
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 a0d9263

Please sign in to comment.