From e010476918b0ead45ae9753a1da1a9d41cba7e06 Mon Sep 17 00:00:00 2001 From: Eran Turgeman Date: Thu, 10 Oct 2024 15:08:28 +0300 Subject: [PATCH] attempt to fix failing test --- commands/audit/sca/yarn/yarn_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/audit/sca/yarn/yarn_test.go b/commands/audit/sca/yarn/yarn_test.go index 9369d175..7dc7fcd6 100644 --- a/commands/audit/sca/yarn/yarn_test.go +++ b/commands/audit/sca/yarn/yarn_test.go @@ -140,7 +140,7 @@ func TestSkipBuildDepTreeWhenInstallForbidden(t *testing.T) { { name: "yarn V3 - not installed | install required - install command", testDir: filepath.Join("projects", "package-managers", "yarn", "yarn-v3"), - installCommand: "yarn install", + installCommand: "yarn install --immutable", shouldBeInstalled: false, successfulTreeBuiltExpected: true, },