Skip to content

Commit

Permalink
chore: Revert "chore: remove watcher limit on e2e test"
Browse files Browse the repository at this point in the history
This reverts commit a60fef3.
  • Loading branch information
hannoeru committed Jun 30, 2022
1 parent a60fef3 commit 5f5485d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ export const getViteConfig = (root: string): UserConfig => ({
root,
logLevel: 'silent',
server: {
watch: {
// During tests we edit the files too fast and sometimes chokidar
// misses change events, so enforce polling for consistency
usePolling: true,
interval: 100,
},
host: true,
},
build: {
Expand Down

0 comments on commit 5f5485d

Please sign in to comment.