Commit 7a3b9685 authored by Tim Neutkens's avatar Tim Neutkens

Use new nextBuild function signature

parent 72a322fc
......@@ -19,7 +19,7 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
describe('Production Usage', () => {
beforeAll(async () => {
await nextBuild(appDir)
await nextBuild({dir: appDir})
app = nextServer({
dir: join(__dirname, '../'),
dev: false,
......
......@@ -25,7 +25,7 @@ const devContext = {}
describe('Static Export', () => {
beforeAll(async () => {
const outdir = join(appDir, 'out')
await nextBuild(appDir)
await nextBuild({dir: appDir})
await nextExport(appDir, { outdir })
context.server = await startStaticServer(join(appDir, 'out'))
......
......@@ -17,7 +17,7 @@ let server
describe('Production Config Usage', () => {
beforeAll(async () => {
const appDir = join(__dirname, '../')
await nextBuild(appDir)
await nextBuild({dir: appDir})
const app = nextServer({
dir: join(__dirname, '../'),
dev: false,
......
......@@ -28,7 +28,7 @@ const context = {}
describe('Production Usage', () => {
beforeAll(async () => {
await nextBuild(appDir)
await nextBuild({dir: appDir})
app = nextServer({
dir: join(__dirname, '../'),
dev: false,
......
......@@ -17,7 +17,7 @@ describe('withRouter', () => {
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000 * 60 * 5
beforeAll(async () => {
await nextBuild(appDir)
await nextBuild({dir: appDir})
app = nextServer({
dir: join(__dirname, '../'),
dev: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment