Skip to content

Commit d2a6af0

Browse files
committed
test: add more tests for hydration mismatch
1 parent 9344ad9 commit d2a6af0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

test/e2e/hydration.spec.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,28 @@ test.describe('Hydration', () => {
1212

1313
expect(hydrationErrors).toEqual([])
1414
})
15+
16+
test('/settings has no hydration mismatches', async ({ goto, hydrationErrors }) => {
17+
await goto('/settings', { waitUntil: 'hydration' })
18+
19+
expect(hydrationErrors).toEqual([])
20+
})
21+
22+
test('/privacy has no hydration mismatches', async ({ goto, hydrationErrors }) => {
23+
await goto('/privacy', { waitUntil: 'hydration' })
24+
25+
expect(hydrationErrors).toEqual([])
26+
})
27+
28+
test('/compare has no hydration mismatches', async ({ goto, hydrationErrors }) => {
29+
await goto('/compare', { waitUntil: 'hydration' })
30+
31+
expect(hydrationErrors).toEqual([])
32+
})
33+
34+
test('/packages/nuxt has no hydration mismatches', async ({ goto, hydrationErrors }) => {
35+
await goto('/packages/nuxt', { waitUntil: 'hydration' })
36+
37+
expect(hydrationErrors).toEqual([])
38+
})
1539
})

0 commit comments

Comments
 (0)