Skip to content

Commit 635fd83

Browse files
committed
Add Typestrip unit test runners
These don't all pass yet, but nice to have to find places we need to fix up.
1 parent 7f38fde commit 635fd83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
"test:integration:api-tests": "node --test integrationTests/apiTests/tests/testSuite.mjs",
4141
"test:integration": "node integrationTests/utils/scripts/run.ts",
4242
"test:unit": "mocha --config unitTests/.mocharc.json",
43-
"test:unit:all": "npm run test:unit unitTests"
43+
"test:unit:all": "npm run test:unit unitTests",
44+
"test:unit:typestrip": "env NODE_OPTIONS='--conditions=typestrip' npm run test:unit",
45+
"test:unit:typestrip:all": "npm run test:unit:typestrip unitTests"
4446
},
4547
"imports": {
4648
"#src/*": {

0 commit comments

Comments
 (0)