diff options
author | Jihun Lee <zkoong21@gmail.com> | 2022-05-25 20:29:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 20:29:13 +0300 |
commit | 8de831fdf310468cca48c689bd09a71698afc4cc (patch) | |
tree | 37ac945471848b7cf088192fabf30674ada5a10e | |
parent | 83ed8d0d4fb51716fa58608fa3c1ee8eb0a93571 (diff) |
chore(fix): replace with exact comparison function (#4925)
-rw-r--r-- | test/lib/commands/exec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/commands/exec.js b/test/lib/commands/exec.js index 1117885b9..049ed327c 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, [ |