Skip to content

Commit 0ddeaf7

Browse files
committed
Type-check tests
1 parent 44e4798 commit 0ddeaf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@
4848
"format:check": "prettier --list-different \"{src,test}/**/*.{js,ts}\" \"**/*.md\"",
4949
"lint": "eslint --ext js,ts src test",
5050
"check-types": "tsc --noEmit && echo \"Types compiled\"",
51-
"test": "vitest --run",
51+
"test": "vitest --run && yarn test:typecheck",
5252
"test:types": "tsc -p test/typescript && echo \"Typetests passed\"",
5353
"test:watch": "vitest",
5454
"test:cov": "vitest --coverage",
55+
"test:typecheck": "tsc -p test && echo \"Types passed\"",
5556
"build": "rollup -c",
5657
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test && yarn build",
5758
"examples:lint": "eslint --ext js,ts examples",

0 commit comments

Comments
 (0)