Skip to content

Commit

Permalink
chore: add the node option --experimental-vm-modules for test ESM mod…
Browse files Browse the repository at this point in the history
…ules
  • Loading branch information
webdiscus committed Dec 8, 2024
1 parent 1e7e592 commit 064c25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"scripts": {
"security": "npm audit --production",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --config ./test/jest.config.js",
"test:coverage": "jest --collectCoverage --config ./test/jest.config.js",
"test:coverage": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --collectCoverage --config ./test/jest.config.js",
"test:index": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/index.test.js",
"test:issue": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/issue.test.js",
"test:messages": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/messages.test.js",
Expand Down

0 comments on commit 064c25d

Please sign in to comment.