豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 61a8037

Browse files
authored
Rspack: Fix lockfile test on rspack (#84707)
Noticed this on #84673 We don't run rspack test on every PR, so this wasn't caught before.
1 parent 73a4d08 commit 61a8037

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/development/lockfile/lockfile.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import execa from 'execa'
33
import stripAnsi from 'strip-ansi'
44

55
describe('lockfile', () => {
6-
const { next, isTurbopack } = nextTestSetup({
6+
const { next, isTurbopack, isRspack } = nextTestSetup({
77
files: __dirname,
88
})
99

@@ -13,7 +13,11 @@ describe('lockfile', () => {
1313

1414
const { stdout, stderr, exitCode } = await execa(
1515
'pnpm',
16-
['next', 'dev', isTurbopack ? '--turbopack' : '--webpack'],
16+
[
17+
'next',
18+
'dev',
19+
...(isRspack ? [] : [isTurbopack ? '--turbopack' : '--webpack']),
20+
],
1721
{
1822
cwd: next.testDir,
1923
env: next.env as NodeJS.ProcessEnv,

0 commit comments

Comments
 (0)