Skip to content

Commit

Permalink
CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
omerzi committed Oct 17, 2023
1 parent d395929 commit a35b252
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,8 @@ func TestXrayAuditYarnV1Json(t *testing.T) {

func TestXrayAuditYarnV1JsonWithoutDevDependencies(t *testing.T) {
assert.NoError(t, os.Setenv("NODE_ENV", "production"))
defer func() {
assert.NoError(t, os.Unsetenv("NODE_ENV"))
}()
unsetEnv := clientTestUtils.SetEnvWithCallbackAndAssert(t, "NODE_ENV", "production")
defer unsetEnv()
testXrayAuditYarn(t, "yarn-v1", func() {
output := runXrayAuditYarnWithOutput(t, string(utils.Json))
var results []services.ScanResponse
Expand Down

0 comments on commit a35b252

Please sign in to comment.