diff options
Diffstat (limited to 'cli/tests/unit/fetch_test.ts')
-rw-r--r-- | cli/tests/unit/fetch_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts index 6ece3c835..0fb9da8f4 100644 --- a/cli/tests/unit/fetch_test.ts +++ b/cli/tests/unit/fetch_test.ts @@ -35,7 +35,7 @@ function findClosedPortInRange( const listener = Deno.listen({ port }); listener.close(); return port; - } catch (e) { + } catch (_e) { port++; } } @@ -792,7 +792,7 @@ unitTest( fail( "Response.text() didn't throw on a filtered response without a body (type error)", ); - } catch (e) { + } catch (_e) { return; } }, |