We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee8151 commit 4e5ff1fCopy full SHA for 4e5ff1f
examples/app-vitest-full/tests/nuxt/server.spec.ts
@@ -53,7 +53,7 @@ describe('server mocks and data fetching', () => {
53
expect(await $fetch<unknown>('/overrides')).toStrictEqual({ title: 'first' })
54
55
unsubFirst()
56
- 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.]`)
57
})
58
59
it('can mock fetch requests with explicit methods', async () => {
0 commit comments