Skip to content

Commit

Permalink
chore: fix tests for isexe export signature
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Aug 29, 2023
1 parent c7122cd commit a5f1e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const runTest = async (t, exec, expect, { platforms = ['posix', 'win32'], ..._op
if (isWindows && platform === 'posix') {
const isexe = async (p) => [].concat(expect).includes(p)
isexe.sync = (p) => [].concat(expect).includes(p)
mocks.isexe = isexe
mocks.isexe = { isexe, sync: isexe.sync }
}

const which = t.mock('..', mocks)
Expand Down

0 comments on commit a5f1e8b

Please sign in to comment.