Skip to content

Commit

Permalink
chore(fix): replace with exact comparison function (#4925)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihunleekr authored May 25, 2022
1 parent 83ed8d0 commit 8de831f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/commands/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, [
Expand Down

0 comments on commit 8de831f

Please sign in to comment.