From a0d9263c1a9c025a30a906a10b537f25b76762b7 Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Tue, 30 Jul 2024 13:28:46 -0700 Subject: [PATCH] docs: Add TestCafe esm option --- docs/web-apps/automated-testing/testcafe/yaml.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/web-apps/automated-testing/testcafe/yaml.md b/docs/web-apps/automated-testing/testcafe/yaml.md index a81b5ef21e..1bc724b67e 100644 --- a/docs/web-apps/automated-testing/testcafe/yaml.md +++ b/docs/web-apps/automated-testing/testcafe/yaml.md @@ -1624,3 +1624,17 @@ suite: smartRetry: failedOnly: true ``` + +--- + +### `esm` + +

| OPTIONAL | BOOLEAN |

+ +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 +```