mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Fix test
This commit is contained in:
parent
b5e24023a0
commit
117fa7ef3a
@ -35,7 +35,7 @@
|
||||
"nuxt": "./bin/nuxt"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "nyc ava --serial test/",
|
||||
"test": "nyc ava test/",
|
||||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
||||
"lint": "eslint --ext .js,.vue bin lib pages test/*.js --ignore-pattern lib/app",
|
||||
"build": "webpack",
|
||||
|
@ -39,7 +39,7 @@ test.serial('Fail when build not done and try to render', t => {
|
||||
test.serial('Fail to build when no pages/ directory but is in the parent', t => {
|
||||
const nuxt = new Nuxt({
|
||||
dev: false,
|
||||
rootDir: resolve(__dirname, 'empty', 'pages')
|
||||
rootDir: resolve(__dirname, 'fixtures', 'empty', 'pages')
|
||||
})
|
||||
return new Promise((resolve) => {
|
||||
var oldExit = process.exit
|
||||
|
Loading…
Reference in New Issue
Block a user