Skip to content

Commit abe5190

Browse files
committed
fix: use node --import tsx --test with native glob expansion for cross-platform
1 parent 20add1c commit abe5190

2 files changed

Lines changed: 1 addition & 39 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"format:check": "prettier --check 'src/**/*.{ts,tsx}'",
3333
"check": "npm run typecheck && npm run lint && npm run format:check",
3434
"build": "npm run check && npm run bundle && node -e \"require('fs').chmodSync('dist/cli.js', 0o755)\"",
35-
"test": "node src/tests/run-tests.mjs",
35+
"test": "node --import tsx --test src/tests/*.test.ts",
3636
"test:single": "tsx --test",
3737
"prepack": "npm run build",
3838
"prepare": "husky"

src/tests/run-tests.mjs

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)