mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: cli fatal error
This commit is contained in:
parent
0585635130
commit
b0eada0410
@ -20,6 +20,11 @@ test.serial('nuxt build', async t => {
|
||||
t.true(stderr.includes('Building done'))
|
||||
})
|
||||
|
||||
test.serial('nuxt build -> error config', async t => {
|
||||
const { stderr } = await t.throws(execify(`node ${nuxtBin} build ${rootDir} -c config.js`))
|
||||
t.true(stderr.includes('Could not load config file'))
|
||||
})
|
||||
|
||||
test.serial('nuxt start', async t => {
|
||||
let stdout = ''
|
||||
// let stderr = ''
|
||||
|
Loading…
Reference in New Issue
Block a user