fix index.test

This commit is contained in:
Pooya Parsa 2017-06-14 02:50:19 +04:30
parent c519c3edff
commit ce5cb62ee6

View File

@ -17,7 +17,7 @@ test.serial('Nuxt.js Instance', async t => {
t.is(typeof nuxt.build, 'function')
t.is(typeof nuxt.generate, 'function')
t.is(typeof nuxt._init.then, 'function')
await nuxt.init()
await nuxt.build()
t.is(nuxt.initialized, true)
})