Unverified Commit 0baa85de authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix missing CNA tests env variable (#64092)

parent e4b85d55
...@@ -27,7 +27,11 @@ export const run = ( ...@@ -27,7 +27,11 @@ export const run = (
// tests with options.reject false are expected to exit(1) so don't inherit // tests with options.reject false are expected to exit(1) so don't inherit
stdio: options.reject === false ? 'pipe' : 'inherit', stdio: options.reject === false ? 'pipe' : 'inherit',
...options, ...options,
env: { ...process.env, ...options.env }, env: {
...process.env,
...options.env,
NEXT_PRIVATE_TEST_VERSION: 'canary',
},
}) })
export const command = (cmd: string, args: string[]) => export const command = (cmd: string, args: string[]) =>
......
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