Skip to content

Commit 020f014

Browse files
committed
fix: use node to run tests instead of jest directly
This makes npm test compatible with windows.
1 parent b6557af commit 020f014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"pretest": "npm run install-binary",
1818
"install-binary": "node scripts/install-binary.js",
19-
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
19+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
2020
"postinstall": "node scripts/install-binary.js",
2121
"clean": "rm -rf dist",
2222
"build": "tsc"

0 commit comments

Comments
 (0)