mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-22 08:29:46 +00:00
chore: reorder options object
This commit is contained in:
parent
7f82988b5a
commit
e415a56633
@ -146,7 +146,7 @@ if (process.env.TEST_ENV !== 'built' && !isWindows) {
|
||||
await page.close()
|
||||
})
|
||||
|
||||
it.skipIf(isWebpack)('should HMR routes', async () => {
|
||||
it.skipIf(isWebpack)('should HMR routes', { timeout: 60_000 }, async () => {
|
||||
const { page, pageErrors, consoleLogs } = await renderPage('/routes')
|
||||
|
||||
await fsp.writeFile(join(fixturePath, 'pages/routes/non-existent.vue'), `<template><div data-testid="contents">A new route!</div></template>`)
|
||||
@ -166,7 +166,7 @@ if (process.env.TEST_ENV !== 'built' && !isWindows) {
|
||||
expect(pageErrors).toEqual([])
|
||||
|
||||
await page.close()
|
||||
}, { timeout: 60_000 })
|
||||
})
|
||||
})
|
||||
} else {
|
||||
describe.skip('hmr', () => {})
|
||||
|
Loading…
Reference in New Issue
Block a user