Skip to content

Commit

Permalink
chore(linting): no-unused-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 4, 2024
1 parent 82ae2a7 commit 09872d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ t.test('cmd', (t) => {
t.test('escapes when cmd is a .exe', async (t) => {
const promiseSpawnMock = t.mock('../lib/index.js', {
which: {
sync: (key, opts) => {
sync: (key) => {
t.equal(key, 'dir')
return 'dir.exe'
},
Expand All @@ -146,7 +146,7 @@ t.test('cmd', (t) => {
t.test('double escapes when cmd is a .cmd', async (t) => {
const promiseSpawnMock = t.mock('../lib/index.js', {
which: {
sync: (key, opts) => {
sync: (key) => {
t.equal(key, 'dir')
return 'dir.cmd'
},
Expand Down

0 comments on commit 09872d7

Please sign in to comment.