Skip to content

Commit

Permalink
correction to pattern used by script test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Sep 10, 2023
1 parent 1c6d69b commit 7c7bc62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/tests-nodets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions tests/tests-tsm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion tests/tests-uvu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 7c7bc62

Please sign in to comment.