Skip to content

Commit

Permalink
update page count test
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Jun 11, 2021
1 parent a1c52b4 commit 6c1c5ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/production/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ describe('Production Usage', () => {
afterAll(() => stopApp(server))

it('should contain generated page count in output', async () => {
expect(output).toContain('Generating static pages (0/37)')
expect(output).toContain('Generating static pages (37/37)')
expect(output).toContain('Generating static pages (0/38)')
expect(output).toContain('Generating static pages (38/38)')
// we should only have 4 segments and the initial message logged out
expect(output.match(/Generating static pages/g).length).toBe(5)
})
Expand Down

0 comments on commit 6c1c5ae

Please sign in to comment.