Skip to content

Commit

Permalink
Don't watch in unit command by default
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jun 30, 2023
1 parent e9c185e commit 77da6be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prettier": "prettier --check . --cache",
"test": "yarn lint && yarn tsc && yarn prettier && yarn unit",
"tsc": "tsc --noEmit",
"unit": "vitest run"
"unit": "vitest"
},
"keywords": [
"validation",
Expand Down
7 changes: 7 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
watch: false,
},
});

0 comments on commit 77da6be

Please sign in to comment.