Skip to content

Commit 145604b

Browse files
committed
Support Node.js 22.18 as a test runner
Now that type-stripping is supported by default, `node --test` tries to open the `*.test.ts` files directly, which fails. For more see <mkantor/please-lang-prototype#75>.
1 parent d88e458 commit 145604b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"clean": "rm -rf dist* *.tsbuildinfo",
1919
"build": "tsc --build tsconfig.lib.json",
2020
"build:tests": "tsc --project tsconfig.lib.json --outDir dist-test --declarationDir dist && tsc --build tsconfig.test.json",
21-
"test": "npm run build:tests && node --test"
21+
"test": "npm run build:tests && node --test --no-experimental-strip-types"
2222
},
2323
"type": "module"
2424
}

0 commit comments

Comments
 (0)