Skip to content

Commit

Permalink
Fix failing npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalbe4 committed Sep 27, 2024
1 parent d73d459 commit a053f66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/tests/consts.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package tests

import (
"path/filepath"

"github.com/jfrog/jfrog-cli-core/v2/artifactory/utils"
"github.com/jfrog/jfrog-client-go/artifactory/services"
servicesUtils "github.com/jfrog/jfrog-client-go/artifactory/services/utils"
clientUtils "github.com/jfrog/jfrog-client-go/utils"
"path/filepath"
)

const (
Expand Down Expand Up @@ -1797,12 +1798,13 @@ func GetGradleDeployedArtifacts() []string {
}

func GetNpmDeployedScopedArtifacts(isNpm7 bool) []string {
path := NpmRepo + "/@jscope/jfrog-cli-tests/-/"
path := NpmRepo + "/@jscope/jfrog-cli-tests/-/@jscope"
path += GetNpmArtifactName(isNpm7, true)
return []string{
path,
}
}

func GetNpmDeployedArtifacts(isNpm7 bool) []string {
path := NpmRepo + "/jfrog-cli-tests/-/"
path += GetNpmArtifactName(isNpm7, false)
Expand Down

0 comments on commit a053f66

Please sign in to comment.