mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
[tests] update error assertion
Vue now gives better error "render function or template not defined in component" instead of "not_defined is not defined"
This commit is contained in:
parent
aeea3cb9eb
commit
c3769f64e7
@ -37,7 +37,7 @@ test('/ with renderAndGetWindow()', async t => {
|
||||
await nuxt.renderAndGetWindow(url('/'))
|
||||
} catch (e) {
|
||||
t.true(e.message.includes('Could not load the nuxt app'))
|
||||
t.true(e.body.includes('not_defined is not defined'))
|
||||
t.true(e.body.includes('render function or template not defined in component'))
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user