From 020f0148d95856062278463670b26e582a82c9d2 Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Wed, 29 May 2024 20:38:17 -0400 Subject: [PATCH] fix: use node to run tests instead of jest directly This makes npm test compatible with windows. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 263968e..dd79d3f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "scripts": { "pretest": "npm run install-binary", "install-binary": "node scripts/install-binary.js", - "test": "NODE_OPTIONS='--experimental-vm-modules' jest", + "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "postinstall": "node scripts/install-binary.js", "clean": "rm -rf dist", "build": "tsc"