Skip to content

Commit

Permalink
Update flakey build output test (#51411)
Browse files Browse the repository at this point in the history
These are sorted by duration which can be arbitrary and aren't
guaranteed to not be collapsed so this updates to only check for the
ones we know will always be visible.

x-ref:
https://github.com/vercel/next.js/actions/runs/5289693006/jobs/9573031740?pr=51406#step:26:275
  • Loading branch information
ijjk committed Jun 16, 2023
1 parent 1528a49 commit c78c379
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/integration/build-output/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ describe('Build Output', () => {
expect.stringMatching(/\/2000\/10 \(\d+ ms\)$/),
expect.stringMatching(/\/10\/1000 \(\d+ ms\)$/),
expect.stringMatching(/\/300\/10 \(\d+ ms\)$/),
// kept in original order
expect.stringMatching(/\/5\/5/),
expect.stringMatching(/\/25\/25/),
expect.stringMatching(/\/20\/20/),
expect.stringMatching(/\/10\/10/),
// max of 7 preview paths
' [+2 more paths]',
]) {
Expand Down

0 comments on commit c78c379

Please sign in to comment.