Skip to content

Commit

Permalink
test: make tests longer
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jan 4, 2024
1 parent be5a259 commit 0ec2051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/test/wait.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ describe('waitUntil', () => {

await expect(
vi.waitUntil(callback, {
timeout: 100,
interval: 75,
timeout: 1000,
interval: 600,
}),
).rejects.toThrowErrorMatchingInlineSnapshot(`[Error: Timed out in waitUntil!]`)

Expand Down
1 change: 1 addition & 0 deletions test/snapshots/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export default defineConfig({
snapshotFormat: {
printBasicPrototype: true,
},
testTimeout: process.env.CI ? 60_000 : 5_000,
},
})

0 comments on commit 0ec2051

Please sign in to comment.