Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 21, 2025
1 parent fee8151 commit 4e5ff1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/app-vitest-full/tests/nuxt/server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('server mocks and data fetching', () => {
expect(await $fetch<unknown>('/overrides')).toStrictEqual({ title: 'first' })

unsubFirst()
expect($fetch<unknown>('/overrides')).rejects.toMatchInlineSnapshot(`[FetchError: [GET] "/overrides": 404 Cannot find any path matching /_/overrides.]`)
expect($fetch<unknown>('/overrides')).rejects.toMatchInlineSnapshot(`[FetchError: [GET] "/overrides": 404 Cannot find any path matching /overrides.]`)
})

it('can mock fetch requests with explicit methods', async () => {
Expand Down

0 comments on commit 4e5ff1f

Please sign in to comment.