From 8f3197cd42142881832c50d5475f72d2aa63cdb0 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Wed, 7 Apr 2021 17:46:41 -0400 Subject: [PATCH] Fix tests referencing yarn --- plugins/npm/__tests__/npm-next.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/npm/__tests__/npm-next.test.ts b/plugins/npm/__tests__/npm-next.test.ts index 2a4338540..82d3ca6fc 100644 --- a/plugins/npm/__tests__/npm-next.test.ts +++ b/plugins/npm/__tests__/npm-next.test.ts @@ -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"); } @@ -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"); } @@ -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)"); }