mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
test: remove jsdom error log
This commit is contained in:
parent
ca1c2b2ff3
commit
cc75d844f8
@ -137,7 +137,10 @@ test('/redirect', async t => {
|
||||
})
|
||||
|
||||
test('/redirect -> check redirected source', async t => {
|
||||
// there are no transition properties in jsdom, ignore the error log
|
||||
await interceptError()
|
||||
const window = await nuxt.renderAndGetWindow(url('/redirect'))
|
||||
release()
|
||||
const html = window.document.body.innerHTML
|
||||
t.true(html.includes('<h1>Index page</h1>'))
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user