Skip to content

Commit

Permalink
test: improve type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Mar 19, 2024
1 parent e44aa44 commit 303c82c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"check-types": "run-s check-types:*",
"check-types:lib": "tsc --pretty --noEmit",
"check-types:test": "tsc --project test --pretty --noEmit",
"check-types:integration": "tsc --project test/integration --pretty --noEmit",
"check-types:integration": "tsc -p test/integration/tsconfig.json --pretty --noEmit",
"test": "nyc --reporter=lcov mocha test/*.spec.js",
"integration-test": "(cd test/integration && mocha --loader=ts-node/esm *.spec.{cjs,ts})",
"prepare": "run-s bundle"
Expand Down
4 changes: 3 additions & 1 deletion test/integration/tsconfig.json
Expand Up @@ -3,7 +3,9 @@
"rootDir": ".",
"strict": true,
"target": "ES2018",
"module": "NodeNext"
"module": "NodeNext",
"noImplicitAny": false,
"checkJs": true
},
"include": [
"node.spec.cjs",
Expand Down

0 comments on commit 303c82c

Please sign in to comment.