Skip to content

Commit df9b874

Browse files
committed
chore: tweak
1 parent 45ea549 commit df9b874

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

playground/ssr-react-streaming/__tests__/ssr-react-streaming.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest'
22
import { editFile, isBuild, page, viteTestUrl as url } from '~utils'
33

44
test('interactive before suspense is resolved', async () => {
5-
await page.goto(url, { waitUntil: 'commit' })
5+
await page.goto(url, { waitUntil: 'commit' }) // don't wait for full html
66
await expect
77
.poll(() => page.getByTestId('hydrated').textContent())
88
.toContain('[hydrated: 1]')
@@ -15,6 +15,7 @@ test('interactive before suspense is resolved', async () => {
1515
})
1616

1717
test.skipIf(isBuild)('hmr', async () => {
18+
await page.goto(url)
1819
await expect
1920
.poll(() => page.getByTestId('hydrated').textContent())
2021
.toContain('[hydrated: 1]')

0 commit comments

Comments
 (0)