diff --git a/artifactory/utils/npm/pack_test.go b/artifactory/utils/npm/pack_test.go index 0634e8064..68ec6c5c8 100644 --- a/artifactory/utils/npm/pack_test.go +++ b/artifactory/utils/npm/pack_test.go @@ -46,6 +46,7 @@ func TestNpmPackWorkspaces(t *testing.T) { func TestNpmPack(t *testing.T) { _, executablePath, err := biutils.GetNpmVersionAndExecPath(nil) + assert.NoError(t, err) tmpDir, createTempDirCallback := tests.CreateTempDirWithCallbackAndAssert(t) defer createTempDirCallback() npmProjectPath := filepath.Join("..", "..", "..", "tests", "testdata", "npm-workspaces")