summaryrefslogtreecommitdiff
path: root/cli/tests/unit/fetch_test.ts
diff options
context:
space:
mode:
authorAlan Gou <alan@frontapp.com>2020-06-19 02:05:37 -0700
committerGitHub <noreply@github.com>2020-06-19 11:05:37 +0200
commitffedbd79ad90bc88ef8c51d145536f68f50d4fea (patch)
treec774772d18867fe08a87429446c473be2fc856c5 /cli/tests/unit/fetch_test.ts
parent36ad5e44020a8bd48546e5a8bdb7db9c2f40dc52 (diff)
build: lint cli/tests/unit using deno lint (#6327)
Diffstat (limited to 'cli/tests/unit/fetch_test.ts')
-rw-r--r--cli/tests/unit/fetch_test.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts
index 98ff42737..b3de5ac4d 100644
--- a/cli/tests/unit/fetch_test.ts
+++ b/cli/tests/unit/fetch_test.ts
@@ -747,7 +747,9 @@ unitTest({ perms: { net: true } }, async function fetchBodyReadTwice(): Promise<
fail(
"Reading body multiple times should failed, the stream should've been locked."
);
- } catch {}
+ } catch {
+ // pass
+ }
}
});
@@ -768,7 +770,9 @@ unitTest(
try {
response.body.getReader();
fail("The stream should've been locked.");
- } catch {}
+ } catch {
+ // pass
+ }
}
);