diff --git a/test/production/pages-dir/production/test/index.test.ts b/test/production/pages-dir/production/test/index.test.ts index 388efbd749797..542f263419dc0 100644 --- a/test/production/pages-dir/production/test/index.test.ts +++ b/test/production/pages-dir/production/test/index.test.ts @@ -1108,7 +1108,8 @@ describe('Production Usage', () => { const version = await browser.eval('window.next.version') expect(version).toBeTruthy() expect(version).toBe( - (await next.readJSON('node_modules/next/package.json')).version + (await next.readJSON('node_modules/next/package.json')).version + + (process.env.TURBOPACK ? '-turbo' : '') ) } finally { if (browser) {