Skip to content

Commit

Permalink
Bail out after first failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
szymmis committed Jan 9, 2024
1 parent 6c8f4b1 commit 666d98f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
test:
image: node:20-slim
command: yarn test
working_dir: /app
volumes:
- .:/app
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
bail: 1,
testTimeout: 15000,
},
});

0 comments on commit 666d98f

Please sign in to comment.