Skip to content

Commit 9e69f60

Browse files
author
pooya parsa
committed
test: remove /old-fetch warning check
a test to ensure legacy works TBD
1 parent f1e2362 commit 9e69f60

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/e2e/fetch.browser.test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ describe('basic browser', () => {
7070
expect(await page.$text('pre')).toContain('kevinmarrec')
7171
})
7272

73-
test('/old-fetch', async () => {
74-
const msg = new Promise(resolve =>
75-
page.on('console', msg => resolve(msg.text()))
76-
)
77-
await page.nuxt.navigate('/old-fetch')
78-
expect(await msg).toBe('fetch(context) has been deprecated, please use middleware(context)')
79-
})
80-
8173
test('ssr: /fetch-client', async () => {
8274
const page = await browser.page(url('/fetch-client'))
8375
expect(await page.$text('p')).toContain('Fetching...')

0 commit comments

Comments
 (0)