Skip to content

Commit b4da791

Browse files
authored
test: extend react-env timeout (#11078)
1 parent 9d0b9d8 commit b4da791

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

playground/react-env/__tests__/react.spec.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@ import { expect, test } from 'vitest'
22
import { page } from '~utils'
33

44
test('should work', async () => {
5-
expect(
6-
await page.textContent('h1', {
7-
timeout: 100
8-
})
9-
).toMatch('Hello Vite + React')
5+
expect(await page.textContent('h1')).toMatch('Hello Vite + React')
106
})

0 commit comments

Comments
 (0)