Skip to content

Commit

Permalink
Fix flakey deploy test assertion (#74060)
Browse files Browse the repository at this point in the history
This test is asserting that the request ends in `.js` although skew
protection can add a `?dpl` query at the end which would make the
assertion timeout incorrectly.

x-ref:
https://github.com/vercel/next.js/actions/runs/12384759046/job/34571137789#step:28:305
  • Loading branch information
ijjk authored Dec 18, 2024
1 parent 0e49bac commit 1856294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/app-dir/app/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe('app dir - basic', () => {
(req) =>
req.includes(
encodeURI(isTurbopack ? '[category]_[id]' : '/[category]/[id]')
) && req.endsWith('.js')
) && req.includes('.js')
)
? 'found'
: // When it fails will log out the paths.
Expand Down

0 comments on commit 1856294

Please sign in to comment.