From 92f5e5f5e2c31bfac03cc718cef328cad7ee5285 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Fri, 21 May 2021 09:19:40 -0400 Subject: [PATCH] Re-enable the audit tools step and update dependencies (#815) * update package versions * run audit * fix eslint config * linter updates * re-enable audit * update timeouts test * pass done into callback * fix format --- __tests__/tool-cache.test.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/__tests__/tool-cache.test.ts b/__tests__/tool-cache.test.ts index d929c1b..b1a9635 100644 --- a/__tests__/tool-cache.test.ts +++ b/__tests__/tool-cache.test.ts @@ -122,11 +122,9 @@ describe('@actions/tool-cache', function() { setResponseMessageFactory(() => { const readStream = new stream.Readable() - /* eslint-disable @typescript-eslint/unbound-method */ readStream._read = () => { readStream.destroy(new Error('uh oh')) } - /* eslint-enable @typescript-eslint/unbound-method */ return readStream }) @@ -149,7 +147,6 @@ describe('@actions/tool-cache', function() { .get('/retries-error-from-response-message-stream') .reply(200, {}) - /* eslint-disable @typescript-eslint/unbound-method */ let attempt = 1 setResponseMessageFactory(() => { const readStream = new stream.Readable() @@ -170,7 +167,6 @@ describe('@actions/tool-cache', function() { return readStream }) - /* eslint-enable @typescript-eslint/unbound-method */ const downPath = await tc.downloadTool( 'http://example.com/retries-error-from-response-message-stream'