Skip to content

Commit

Permalink
test: extend react-env timeout (#11078)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 25, 2022
1 parent 9d0b9d8 commit b4da791
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions playground/react-env/__tests__/react.spec.ts
Expand Up @@ -2,9 +2,5 @@ import { expect, test } from 'vitest'
import { page } from '~utils'

test('should work', async () => {
expect(
await page.textContent('h1', {
timeout: 100
})
).toMatch('Hello Vite + React')
expect(await page.textContent('h1')).toMatch('Hello Vite + React')
})

0 comments on commit b4da791

Please sign in to comment.