Skip to content

Commit

Permalink
Fix tests referencing yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Apr 7, 2021
1 parent 165a837 commit 8f3197c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/npm/__tests__/npm-next.test.ts
Expand Up @@ -513,7 +513,7 @@ describe("next", () => {
);
}

if (command === "yarn" && args[0] === "lerna" && args[1] === "changed") {
if (command === "npx" && args[0] === "lerna" && args[1] === "changed") {
return Promise.resolve("@foo/foo\n@foo/foo-bar");
}

Expand Down Expand Up @@ -596,7 +596,7 @@ describe("next", () => {
);
}

if (command === "yarn" && args[0] === "lerna" && args[1] === "changed") {
if (command === "npx" && args[0] === "lerna" && args[1] === "changed") {
return Promise.resolve("@foo/foo\n@foo/foo-bar");
}

Expand Down Expand Up @@ -666,7 +666,7 @@ describe("next", () => {
return Promise.resolve("@foo/foo@1.0.0-next.0");
}

if (command === "yarn" && args[0] === "lerna" && args[1] === "changed") {
if (command === "npx" && args[0] === "lerna" && args[1] === "changed") {
return Promise.resolve("@foo/foo (PRIVATE)");
}

Expand Down

0 comments on commit 8f3197c

Please sign in to comment.