From d148cbf872855317d7d172c98ba86725985a1066 Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 15 Apr 2021 10:25:00 -0700 Subject: [PATCH] fixup: rebase to release-next, fix tests --- test/lib/version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/version.js b/test/lib/version.js index 363bf3c7949e..6a83375b0025 100644 --- a/test/lib/version.js +++ b/test/lib/version.js @@ -295,7 +295,7 @@ t.test('workspaces', t => { }), }, }) - const Version = requireInject('../../lib/version.js', { + const Version = t.mock('../../lib/version.js', { ...mocks, libnpmversion: (arg, opts) => { libNpmVersionArgs.push([arg, opts])