Commit 2af845c0 authored by Tim Neutkens's avatar Tim Neutkens

Update index.test.ts

parent 7c66dbbd
...@@ -49,8 +49,8 @@ describe('Polyfills', () => { ...@@ -49,8 +49,8 @@ describe('Polyfills', () => {
}) })
it('should contain generated page count in output', async () => { it('should contain generated page count in output', async () => {
expect(output).match(/Generating static pages.*\(0\/5\)/g) expect(output).toMatch(/Generating static pages.*\(0\/5\)/g)
expect(output).match(/Generating static pages.*\(5\/5\)/g) expect(output).toMatch(/Generating static pages.*\(5\/5\)/g)
// we should only have 1 segment and the initial message logged out // we should only have 1 segment and the initial message logged out
expect(output.match(/Generating static pages/g).length).toBe(5) expect(output.match(/Generating static pages/g).length).toBe(5)
}) })
......
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