Skip to content

Commit

Permalink
test: add a button
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Nov 8, 2024
1 parent a368da9 commit 6a2b63d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/browser/test/failing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { page } from '@vitest/browser/context'
import { expect, it } from 'vitest'
import { throwError } from '../src/error'

document.body.innerHTML = `
<button>Click me!</button>
`

it('correctly fails and prints a diff', () => {
expect(1).toBe(2)
})
Expand Down

0 comments on commit 6a2b63d

Please sign in to comment.