Skip to content

Commit 9676b8e

Browse files
committed
Perform type checking with runtime tests
1 parent d0925af commit 9676b8e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"format": "prettier --write \"(src|examples)/**/*.{ts,tsx}\" \"**/*.md\"",
102102
"format:check": "prettier --list-different \"(src|examples)/**/*.{ts,tsx}\" \"docs/*/**.md\"",
103103
"lint": "eslint src examples",
104-
"test": "vitest --run",
104+
"test": "vitest --run --typecheck",
105105
"test:watch": "vitest --watch",
106106
"type-tests": "yarn tsc -p tsconfig.json",
107107
"prepack": "yarn build"

packages/toolkit/vitest.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const __dirname = path.dirname(__filename)
99

1010
export default defineConfig({
1111
test: {
12-
typecheck: { only: true },
1312
globals: true,
1413
environment: 'jsdom',
1514
setupFiles: ['./vitest.setup.ts'],

0 commit comments

Comments
 (0)