Commit c22cfc2b authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

fixup

parent 74df2f61
......@@ -51,7 +51,7 @@ describe('Polyfills', () => {
it('should contain generated page count in output', async () => {
expect(output).toContain('Generating static pages (0/5)')
expect(output).toContain('Generating static pages (5/5)')
// we should have 4 segment, the initial message, and the final one with time
// we should have 4 segments, the initial message, and the final one with time
expect(output.match(/Generating static pages/g).length).toBe(6)
})
}
......
......@@ -116,8 +116,8 @@ describe('Production Usage', () => {
expect(next.cliOutput).toContain(
`Generating static pages (${pageCount}/${pageCount})`
)
// we should only have 4 segments and the initial message logged out
expect(next.cliOutput.match(/Generating static pages/g).length).toBe(5)
// we should have 4 segments, the initial message, and the final one with time
expect(next.cliOutput.match(/Generating static pages/g).length).toBe(6)
})
it('should output traces', async () => {
......
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