Skip to content

Commit

Permalink
Skip i18n-ignore-rewrite-basepath-source irrelevant tests with turbop…
Browse files Browse the repository at this point in the history
…ack (#57295)

Same as #57289 for another test
suite.
  • Loading branch information
ijjk authored Oct 23, 2023
1 parent dc4138d commit 7a1b01b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ describe('i18n-ignore-rewrite-source-locale with basepath', () => {

// build artifacts aren't available on deploy
if (!(global as any).isNextDeploy) {
test.each(locales)(
// chunks are not written to disk with TURBOPACK
;(process.env.TURBOPACK ? it.skip.each : it.each)(locales)(
'get _next/static/ files by skipping locale in rewrite, locale: %s',
async (locale) => {
const chunks = (
Expand All @@ -85,6 +86,7 @@ describe('i18n-ignore-rewrite-source-locale with basepath', () => {
next.url,
`/basepath${locale}/rewrite-files/_next/static/chunks/${file}`
)
// eslint-disable-next-line jest/no-standalone-expect
expect(res.status).toBe(200)
})
)
Expand Down

0 comments on commit 7a1b01b

Please sign in to comment.