diff --git a/test/basic.fail.generate.test.js b/test/basic.fail.generate.test.js index 4a7bed3f51..65f996193d 100644 --- a/test/basic.fail.generate.test.js +++ b/test/basic.fail.generate.test.js @@ -6,7 +6,6 @@ test('Fail with routes() which throw an error', async t => { const options = { rootDir: resolve(__dirname, 'fixtures/basic'), dev: false, - runBuild: true, generate: { async routes () { throw new Error('Not today!') diff --git a/test/basic.generate.test.js b/test/basic.generate.test.js index b75e71a4b2..313203637a 100644 --- a/test/basic.generate.test.js +++ b/test/basic.generate.test.js @@ -18,7 +18,6 @@ test.before('Init Nuxt.js', async t => { let config = require(resolve(rootDir, 'nuxt.config.js')) config.rootDir = rootDir config.dev = false - config.runBuild = true nuxt = new Nuxt(config) const builder = new Builder(nuxt) const generator = new Generator(nuxt, builder) diff --git a/test/basic.test.js b/test/basic.test.js index 16146f2e1c..93a0e07c5b 100755 --- a/test/basic.test.js +++ b/test/basic.test.js @@ -13,8 +13,7 @@ let nuxt = null test.before('Init Nuxt.js', async t => { const options = { rootDir: resolve(__dirname, 'fixtures/basic'), - dev: false, - runBuild: true + dev: false } nuxt = new Nuxt(options) await new Builder(nuxt).build() diff --git a/test/children.test.js b/test/children.test.js index d6f470b868..c648702798 100644 --- a/test/children.test.js +++ b/test/children.test.js @@ -11,8 +11,7 @@ let nuxt = null test.before('Init Nuxt.js', async t => { const options = { rootDir: resolve(__dirname, 'fixtures/children'), - dev: false, - runBuild: true + dev: false } nuxt = new Nuxt(options) await new Builder(nuxt).build() diff --git a/test/dynamic-routes.test.js b/test/dynamic-routes.test.js index 9ac8eeda2d..c1c8d461b7 100644 --- a/test/dynamic-routes.test.js +++ b/test/dynamic-routes.test.js @@ -9,8 +9,7 @@ const readFile = pify(fs.readFile) test.before('Init Nuxt.js', async t => { const nuxt = new Nuxt({ rootDir: resolve(__dirname, 'fixtures/dynamic-routes'), - dev: false, - runBuild: true + dev: false }) await new Builder(nuxt).build() }) diff --git a/test/error.test.js b/test/error.test.js index 4b53f5ad56..9a7952ccc6 100644 --- a/test/error.test.js +++ b/test/error.test.js @@ -11,8 +11,7 @@ let nuxt = null test.before('Init Nuxt.js', async t => { const options = { rootDir: resolve(__dirname, 'fixtures/error'), - dev: false, - runBuild: true + dev: false } nuxt = new Nuxt(options) await new Builder(nuxt).build() diff --git a/test/express.test.js b/test/express.test.js index 9a4d91ff98..531aa606a0 100644 --- a/test/express.test.js +++ b/test/express.test.js @@ -14,8 +14,7 @@ let app test.before('Init Nuxt.js', async t => { const options = { rootDir: resolve(__dirname, 'fixtures/basic'), - dev: false, - runBuild: true + dev: false } // Create nuxt instace diff --git a/test/index.test.js b/test/index.test.js index 8e3fbf745e..c30f96be7e 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -20,7 +20,6 @@ test.serial('Nuxt.js Instance', async t => { test.serial('Fail to build when no pages/ directory but is in the parent', t => { const nuxt = new Nuxt({ dev: false, - runBuild: true, rootDir: resolve(__dirname, 'fixtures', 'empty', 'pages') }) return new Builder(nuxt).build().catch(err => { @@ -33,7 +32,6 @@ test.serial('Fail to build when no pages/ directory but is in the parent', t => test.serial('Fail to build when no pages/ directory', t => { const nuxt = new Nuxt({ dev: false, - runBuild: true, rootDir: resolve(__dirname) }) return new Builder(nuxt).build().catch(err => { diff --git a/test/module.test.js b/test/module.test.js index 83f3005c4c..26ac78c81d 100755 --- a/test/module.test.js +++ b/test/module.test.js @@ -14,7 +14,6 @@ test.before('Init Nuxt.js', async t => { let config = require(resolve(rootDir, 'nuxt.config.js')) config.rootDir = rootDir config.dev = false - config.runBuild = true nuxt = new Nuxt(config) await new Builder(nuxt).build() diff --git a/test/with-config.test.js b/test/with-config.test.js index 83b6747a8e..f3b380efac 100644 --- a/test/with-config.test.js +++ b/test/with-config.test.js @@ -14,7 +14,6 @@ test.before('Init Nuxt.js', async t => { let config = require(resolve(rootDir, 'nuxt.config.js')) config.rootDir = rootDir config.dev = false - config.runBuild = true nuxt = new Nuxt(config) await new Builder(nuxt).build()