mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
test: fix appveyor
This commit is contained in:
parent
43de27faef
commit
3de7921b5a
@ -26,7 +26,7 @@ test('Vendor', async t => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test('Plugin', async t => {
|
test('Plugin', async t => {
|
||||||
t.true(nuxt.options.plugins[0].src.includes('fixtures/module/.nuxt/basic.reverse.'), 'plugin added to config')
|
t.true(nuxt.options.plugins[0].src.includes('~/.nuxt/basic.reverse.'), 'plugin added to config')
|
||||||
const { html } = await nuxt.renderRoute('/')
|
const { html } = await nuxt.renderRoute('/')
|
||||||
t.true(html.includes('<h1>TXUN</h1>'), 'plugin works')
|
t.true(html.includes('<h1>TXUN</h1>'), 'plugin works')
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user