Skip to content

Commit 2fdf844

Browse files
authored
Updates clientScript instructions to use module (testing-library#411)
* Updates clientScript instructions to use module module is preferable to abs file path as it works with workspaces etc. * Fixes missing brackets around module
1 parent cf02de5 commit 2fdf844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/testcafe-testing-library/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Add the following to your .testcaferc.json file:
2727

2828
```json
2929
"clientScripts": [
30-
"./node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js"
30+
{ "module": "@testing-library/dom/dist/@testing-library/dom.umd.js" }
3131
],
3232
```
3333

0 commit comments

Comments
 (0)