Unverified Commit 61a80378 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

Rspack: Fix lockfile test on rspack (#84707)

Noticed this on https://github.com/vercel/next.js/pull/84673

We don't run rspack test on every PR, so this wasn't caught before.
parent 73a4d082
...@@ -3,7 +3,7 @@ import execa from 'execa' ...@@ -3,7 +3,7 @@ import execa from 'execa'
import stripAnsi from 'strip-ansi' import stripAnsi from 'strip-ansi'
describe('lockfile', () => { describe('lockfile', () => {
const { next, isTurbopack } = nextTestSetup({ const { next, isTurbopack, isRspack } = nextTestSetup({
files: __dirname, files: __dirname,
}) })
...@@ -13,7 +13,11 @@ describe('lockfile', () => { ...@@ -13,7 +13,11 @@ describe('lockfile', () => {
const { stdout, stderr, exitCode } = await execa( const { stdout, stderr, exitCode } = await execa(
'pnpm', 'pnpm',
['next', 'dev', isTurbopack ? '--turbopack' : '--webpack'], [
'next',
'dev',
...(isRspack ? [] : [isTurbopack ? '--turbopack' : '--webpack']),
],
{ {
cwd: next.testDir, cwd: next.testDir,
env: next.env as NodeJS.ProcessEnv, env: next.env as NodeJS.ProcessEnv,
......
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