Skip to content

Commit b53b952

Browse files
committed
Don't watch in unit command by default
1 parent a701c41 commit b53b952

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prettier": "prettier --check . --cache",
2323
"test": "yarn lint && yarn tsc && yarn prettier && yarn unit",
2424
"tsc": "tsc --noEmit",
25-
"unit": "vitest run"
25+
"unit": "vitest"
2626
},
2727
"keywords": [
2828
"calendar",

vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ export default defineConfig({
77
},
88
environment: 'jsdom',
99
setupFiles: 'vitest.setup.ts',
10+
watch: false,
1011
},
1112
});

0 commit comments

Comments
 (0)