From c4f85f3879c8d0fb02cf22ffcd79141e90e2f0c7 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Fri, 3 May 2024 14:36:52 -0700 Subject: [PATCH] chore(linting): no-unused-vars --- test/integration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration.js b/test/integration.js index 258f5f4..b6da960 100644 --- a/test/integration.js +++ b/test/integration.js @@ -12,7 +12,7 @@ const testShim = join(workDir, 'test') const testShimCmd = testShim + '.cmd' const testShimPowershell = testShim + '.ps1' -test('setup', t => { +test('setup', () => { fs.rmSync(workDir, { recursive: true, force: true }) fs.mkdirSync(workDir) fs.writeFileSync(testShbang + '.js', '#!/usr/bin/env node\ntrue') @@ -76,4 +76,4 @@ test('async-read-not-shim', t => test('sync-read-not-shim', async t => t.throws(() => readCmdShim.sync(__filename), { code: 'ENOTASHIM' })) -test('cleanup', async t => fs.rmSync(workDir, { recursive: true, force: true })) +test('cleanup', async () => fs.rmSync(workDir, { recursive: true, force: true }))