Commit ecb557b8 authored by Jimmy Lai's avatar Jimmy Lai

fix(ci): add IS_TURBOPACK_TEST=1 to node-streams dev CI

The node-streams dev suite uses turbopack (default bundler) but was
missing IS_TURBOPACK_TEST=1 and TURBOPACK_DEV=1. Without these flags,
tests that self-skip on turbopack (via process.env.IS_TURBOPACK_TEST)
don't know they're running with turbopack and fail instead of skipping.

This caused ~60 false failures in tests like url-imports,
rsc-webpack-loader, esm-externals, scss, next-font, and inline
snapshot tests with stack frame naming changes.
parent fe044c9f
...@@ -1040,6 +1040,8 @@ jobs: ...@@ -1040,6 +1040,8 @@ jobs:
export __NEXT_EXPERIMENTAL_DEBUG_CHANNEL=true export __NEXT_EXPERIMENTAL_DEBUG_CHANNEL=true
export NEXT_EXTERNAL_TESTS_FILTERS="test/use-node-streams-tests-manifest.json" export NEXT_EXTERNAL_TESTS_FILTERS="test/use-node-streams-tests-manifest.json"
export NEXT_TEST_MODE=dev export NEXT_TEST_MODE=dev
export IS_TURBOPACK_TEST=1
export TURBOPACK_DEV=1
node run-tests.js \ node run-tests.js \
--timings \ --timings \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment