We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ae2a7 commit 09872d7Copy full SHA for 09872d7
test/shell.js
@@ -120,7 +120,7 @@ t.test('cmd', (t) => {
120
t.test('escapes when cmd is a .exe', async (t) => {
121
const promiseSpawnMock = t.mock('../lib/index.js', {
122
which: {
123
- sync: (key, opts) => {
+ sync: (key) => {
124
t.equal(key, 'dir')
125
return 'dir.exe'
126
},
@@ -146,7 +146,7 @@ t.test('cmd', (t) => {
146
t.test('double escapes when cmd is a .cmd', async (t) => {
147
148
149
150
151
return 'dir.cmd'
152
0 commit comments