CI (temp): fix typescript test runner failure due to ts-node bug

This fix triggers some warnings about experimental features,
and it's meant to be temporary until ts-node shares a long-term solutio .

See https://github.com/TypeStrong/ts-node/issues/2094.
This commit is contained in:
larabr 2023-12-08 15:10:27 +01:00
parent c754fac10f
commit e92b44bc84

View File

@ -46,7 +46,7 @@
"build-test": "npm run build --build-only=test", "build-test": "npm run build --build-only=test",
"prepare": "npm run build", "prepare": "npm run build",
"test": "mocha --timeout 120000 test/unittests.js", "test": "mocha --timeout 120000 test/unittests.js",
"test-type-definitions": "ts-node --esm test/typescript/definitions.ts", "test-type-definitions": "node --loader ts-node/esm test/typescript/definitions.ts",
"benchmark-time": "node test/benchmarks/time.js", "benchmark-time": "node test/benchmarks/time.js",
"benchmark-memory-usage": "node test/benchmarks/memory_usage.js", "benchmark-memory-usage": "node test/benchmarks/memory_usage.js",
"start": "http-server", "start": "http-server",