This commit is contained in:
Sébastien Chopin 2016-12-20 20:54:23 +01:00
parent b5e24023a0
commit 117fa7ef3a
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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