fix(spec-api): use tsx loader so tests run on Node 20 (#2)

This commit is contained in:
pj authored and GitHub committed 2026-04-18 08:56:27 +07:00
1 parent 0570719e6f
commit 2b006aabd8
2 files changed
+545 -1

No files matched your search

+2 -1
View File
@@ -30,13 +30,14 @@
"build": "tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build",
"check": "tsc --noEmit",
"test": "node --test --experimental-strip-types test/*.test.ts"
"test": "node --import tsx --test test/*.test.ts"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "^22.7.5",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}