From 5dec129fafb17d28bcf676092d192c964ee8fa60 Mon Sep 17 00:00:00 2001 From: Jihun Lee Date: Sat, 21 May 2022 07:49:58 +0900 Subject: [PATCH] chore(fix): replace with exact comparison function --- test/lib/commands/exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/commands/exec.js b/test/lib/commands/exec.js index 1117885b91731..049ed327c8fc5 100644 --- a/test/lib/commands/exec.js +++ b/test/lib/commands/exec.js @@ -473,7 +473,7 @@ t.test('npm exec foo, not present locally but in central loc', async t => { await exec.exec(['foo', 'one arg', 'two arg']) t.strictSame(MKDIRPS, [installDir], 'need to make install dir') t.match(ARB_CTOR, [{ path }]) - t.match(ARB_REIFY, [], 'no need to install again, already there') + t.strictSame(ARB_REIFY, [], 'no need to install again, already there') t.equal(PROGRESS_ENABLED, true, 'progress re-enabled') const PATH = `${resolve(installDir, 'node_modules', '.bin')}${delimiter}${process.env.PATH}` t.match(RUN_SCRIPTS, [