Skip to content

Commit

Permalink
chore: fix tests for Windows, enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Feb 25, 2022
1 parent ae4806f commit 13fe141
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
CI: true
strategy:
matrix:
os: [ ubuntu-latest ]
os: [ ubuntu-latest, windows-latest ]
node: [ 12, 14, 16 ]
runs-on: ${{ matrix.os }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions tests/config/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { configure } from "cli-testing-library";
import "cli-testing-library/extend-expect";

configure({
asyncUtilTimeout: 2000,
renderAwaitTime: 1000,
errorDebounceTimeout: 1000,
asyncUtilTimeout: 8000,
renderAwaitTime: 4000,
errorDebounceTimeout: 4000,
});
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ export default defineConfig({
test: {
globals: true,
setupFiles: ['./tests/config/setup.js'],
testTimeout: 10000,
hookTimeout: 10000
},
})

0 comments on commit 13fe141

Please sign in to comment.