diff --git a/package.json b/package.json index f1cf5f89..65dcfa7f 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,9 @@ "lint:fix": "standard --fix", "pretest": "xcopy /e /k /i . \"..\\node_modules\\fastify-cli\" || rsync -r --exclude=node_modules ./ node_modules/fastify-cli || echo 'this is fine'", "test": "c8 --clean npm run test:cli-and-typescript && npm run unit:suites", - "unit:cjs": "c8 node suite-runner.js \"templates/app/test/**/*.test.js\"", - "unit:esm": "c8 node suite-runner.js \"templates/app-esm/test/**/*.test.js\"", - "unit:ts-cjs": "c8 node -r tsx/cjs suite-runner.js \"templates/app-ts/test/**/*.test.ts\"", + "unit:cjs": "node suite-runner.js \"templates/app/test/**/*.test.js\"", + "unit:esm": "node suite-runner.js \"templates/app-esm/test/**/*.test.js\"", + "unit:ts-cjs": "node -r tsx/cjs suite-runner.js \"templates/app-ts/test/**/*.test.ts\"", "unit:ts-esm": "cross-env TS_NODE_PROJECT=./templates/app-ts-esm/tsconfig.json FASTIFY_AUTOLOAD_TYPESCRIPT=1 node -r tsx/cjs --import tsx/esm suite-runner.js \"templates/app-ts-esm/test/**/*.test.ts\"", "unit:suites": "node should-skip-test-suites.js || npm run all-suites", "all-suites": "npm run unit:cjs && npm run unit:esm && npm run unit:ts-cjs && npm run unit:ts-esm",