Skip to content

Commit dfa6498

Browse files
committed
test: dev-turbo logs on browser only not terminal
1 parent 8975b03 commit dfa6498

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/app-dir/proxy-missing-export/proxy-missing-export.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ describe('proxy-missing-export', () => {
4343
cliOutput = (await next.build()).cliOutput
4444
}
4545

46-
if (process.env.IS_TURBOPACK_TEST) {
46+
// TODO: Investigate why in dev-turbo, the error is shown in the browser console, not CLI output.
47+
if (process.env.IS_TURBOPACK_TEST && !isNextDev) {
4748
expect(cliOutput).toContain(`./proxy.ts
4849
Proxy is missing expected function export name
4950
${errorMessage}`)

0 commit comments

Comments
 (0)