mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-22 00:19:45 +00:00
chore: reorder options object
This commit is contained in:
parent
cbe38cf52c
commit
11e6b8398c
@ -145,7 +145,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>`)
|
||||
@ -165,7 +165,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