Commit e6138820 authored by Arunoda Susiripala's avatar Arunoda Susiripala

Update tests for the recent changes.

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