Skip to content

Commit

Permalink
chore: use expected error
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed May 25, 2023
1 parent c349243 commit 91bd3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/module.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ describe('by definition', () => {
describe('error' , () => {
it('fails to render, shows original string'), async () => {
const html = await $fetch('/error')
expect(html).toContain('<span>1234</span>')
expect(html).toContain(expected.error)
}
})

0 comments on commit 91bd3f3

Please sign in to comment.