Skip to content

Commit

Permalink
metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Aug 29, 2024
1 parent 619a93b commit 2b3f2f2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build/utils/yarn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ func TestBuildYarnV1Dependencies(t *testing.T) {

func checkGetYarnDependencies(t *testing.T, versionDir string, expectedLocators []string) {
// Copy the project directory to a temporary directory
tempDirPath, err := utils.CreateTempDir()
assert.NoError(t, err, "Couldn't create temp dir")
defer func() {
assert.NoError(t, utils.RemoveTempDir(tempDirPath), "Couldn't remove temp dir")
}()
tempDirPath := t.TempDir()
testDataSource := filepath.Join("..", "testdata", "yarn", versionDir)
testDataTarget := filepath.Join(tempDirPath, "yarn")
assert.NoError(t, utils.CopyDir(testDataSource, testDataTarget, true, nil))
Expand Down

0 comments on commit 2b3f2f2

Please sign in to comment.