Skip to content

Commit

Permalink
Update index.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Oct 22, 2019
1 parent b4895b0 commit 4a3ae94
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/integration/chunking/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ describe('Chunking', () => {
} catch (e) {
// Error here means old chunks don't exist, so we don't need to do anything
}
await nextBuild(appDir)
const { stdout, stderr } = await nextBuild(appDir, [], {
stdout: true,
stderr: true,
})
console.log(stdout)
console.error(stderr)
stats = (await readFile(join(appDir, '.next', 'stats.json'), 'utf8'))
// fixes backslashes in keyNames not being escaped on windows
.replace(/"static\\(.*?":)/g, '"static\\\\$1')
Expand Down

0 comments on commit 4a3ae94

Please sign in to comment.