diff --git a/tests/tests-nodets/package.json b/tests/tests-nodets/package.json index 4685fd0b..1af42a29 100644 --- a/tests/tests-nodets/package.json +++ b/tests/tests-nodets/package.json @@ -15,8 +15,8 @@ }, "scripts": { "isnodelt20_6": "node -e \"(([mj, mn]) => (+mj < 20 || (+mj === 20 && +mn < 6)))(process.versions.node.split('.')) || process.exit(1)\"", - "test:current": "npm run isnodelt20_6 || node --loader=ts-node/esm --test esmock.node-ts.test.ts esmock.node-ts.importing.test.ts", + "test:current": "node --loader=ts-node/esm --test esmock.node-ts.test.ts esmock.node-ts.importing.test.ts", "test:loader": "node --loader=ts-node/esm --loader=esmock --test esmock.node-ts.test.ts esmock.node-ts.importing.test.ts", - "test": "npm run test:loader && npm run test:current" + "test": "npm run test:loader && npm run isnodelt20_6 || npm run test:current" } } diff --git a/tests/tests-tsm/package.json b/tests/tests-tsm/package.json index 6982bca5..4869fe9b 100644 --- a/tests/tests-tsm/package.json +++ b/tests/tests-tsm/package.json @@ -17,7 +17,7 @@ "scripts": { "isnodelt20_6": "node -e \"(([mj, mn]) => (+mj < 20 || (+mj === 20 && +mn < 6)))(process.versions.node.split('.')) || process.exit(1)\"", "test:loader": "node --loader=tsm --loader=esmock --test esmock.node-tsm.test.ts", - "test:current": "npm run isnodelt20_6 || node --loader=tsm --test esmock.node-tsm.test.ts", - "test": "npm run test:loader && npm run test:current" + "test:current": "node --loader=tsm --test esmock.node-tsm.test.ts", + "test": "npm run test:loader && npm run isnodelt20_6 || npm run test:current" } } diff --git a/tests/tests-uvu/package.json b/tests/tests-uvu/package.json index 6cd2c650..d8f9a396 100644 --- a/tests/tests-uvu/package.json +++ b/tests/tests-uvu/package.json @@ -16,7 +16,7 @@ "scripts": { "isnodelt20_6": "node -e \"(([mj, mn]) => (+mj < 20 || (+mj === 20 && +mn < 6)))(process.versions.node.split('.')) || process.exit(1)\"", "test:loader": "node --loader=esmock ./node_modules/uvu/bin.js", - "test:current": "node ./node_modules/uvu/bin.js", + "test:current": "uvu", "test": "npm run test:loader && npm run isnodelt20_6 || npm run test:current" } }