Unverified Commit c78c3798 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update flakey build output test (#51411)

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
parent 1528a49b
...@@ -171,11 +171,6 @@ describe('Build Output', () => { ...@@ -171,11 +171,6 @@ describe('Build Output', () => {
expect.stringMatching(/\/2000\/10 \(\d+ ms\)$/), expect.stringMatching(/\/2000\/10 \(\d+ ms\)$/),
expect.stringMatching(/\/10\/1000 \(\d+ ms\)$/), expect.stringMatching(/\/10\/1000 \(\d+ ms\)$/),
expect.stringMatching(/\/300\/10 \(\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 // max of 7 preview paths
' [+2 more paths]', ' [+2 more paths]',
]) { ]) {
......
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