mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +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'))
|
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 => {
|
test.serial('nuxt start', async t => {
|
||||||
let stdout = ''
|
let stdout = ''
|
||||||
// let stderr = ''
|
// let stderr = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user