Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxxBot committed Feb 19, 2025
1 parent 75769f3 commit 7fdb4b5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions npm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,11 @@ func TestYarnChangeVersionInV4(t *testing.T) {
log.Error("3 ", string(output))

jfrogCli := coretests.NewJfrogCli(execMain, "jfrog", "")
err = jfrogCli.Exec("yarn", "--version")
assert.NoError(t, err)

err = jfrogCli.Exec("yarn", "set", "version", "3.2.1")
assert.NoError(t, err)

pwdCmd1 := exec.Command("pwd")
output, err = pwdCmd1.Output()
Expand Down Expand Up @@ -914,8 +918,8 @@ func TestYarnChangeVersionInV4(t *testing.T) {
}
log.Error("6 ", string(output))

assert.NoError(t, err)
modifyExistingYarnRc(t, "3.2.1")
//modifyExistingYarnRc(t, "3.2.1")
_ = jfrogCli.Exec("yarn", "--version")
}

// Checks if the expected dependencies match the actual dependencies. Only the dependencies' IDs and scopes (not more than one scope) are compared.
Expand Down

0 comments on commit 7fdb4b5

Please sign in to comment.