We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d0b9d8 commit b4da791Copy full SHA for b4da791
playground/react-env/__tests__/react.spec.ts
@@ -2,9 +2,5 @@ import { expect, test } from 'vitest'
2
import { page } from '~utils'
3
4
test('should work', async () => {
5
- expect(
6
- await page.textContent('h1', {
7
- timeout: 100
8
- })
9
- ).toMatch('Hello Vite + React')
+ expect(await page.textContent('h1')).toMatch('Hello Vite + React')
10
})
0 commit comments