diff --git a/test/e2e/app-dir/app/index.test.ts b/test/e2e/app-dir/app/index.test.ts index 5a65fb1950a47..16dcdc2890c9d 100644 --- a/test/e2e/app-dir/app/index.test.ts +++ b/test/e2e/app-dir/app/index.test.ts @@ -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.