Skip to content

Commit 5a23509

Browse files
committed
Fix regex
1 parent 79cdfc9 commit 5a23509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/app-dir/app/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ describe('app dir - basic', () => {
187187
// Turbopack doesn't recreate the original folder structure for the output chunks
188188
if (!process.env.IS_TURBOPACK_TEST) {
189189
expect(requests).toEqual(
190-
// e.g. _next/static/chunks/app/dynamic-client/%5Bcategory%5D/%5Bid%5D/page-6e188d657a208f8e.js
190+
// e.g. _next/static/chunks/app/dynamic-client/%5Bcategory%5D/%5Bid%5D/page-6e188d657a208f8e.js?dpl=...
191191
expect.arrayContaining([
192-
expect.stringMatching(/.*%5Bcategory%5D\/%5Bid%5D.*\.js$/),
192+
expect.stringMatching(/.*%5Bcategory%5D\/%5Bid%5D.*\.js/),
193193
])
194194
)
195195
}

0 commit comments

Comments
 (0)