Commit e6138820 authored by Arunoda Susiripala's avatar Arunoda Susiripala

Update tests for the recent changes.

parent 55c7553a
...@@ -13,5 +13,5 @@ node_modules ...@@ -13,5 +13,5 @@ node_modules
coverage coverage
# test output # test output
test/**/.out test/**/out
.DS_Store .DS_Store
...@@ -17,11 +17,11 @@ const context = {} ...@@ -17,11 +17,11 @@ const context = {}
describe('Static Export', () => { describe('Static Export', () => {
beforeAll(async () => { beforeAll(async () => {
const outdir = join(appDir, '.out') const outdir = join(appDir, 'out')
await nextBuild(appDir) await nextBuild(appDir)
await nextExport(appDir, { outdir }) await nextExport(appDir, { outdir })
context.server = await startStaticServer(join(appDir, '.out')) context.server = await startStaticServer(join(appDir, 'out'))
context.port = context.server.address().port context.port = context.server.address().port
}) })
afterAll(() => stopApp(context.server)) afterAll(() => stopApp(context.server))
......
This diff is collapsed.
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