summaryrefslogtreecommitdiff
path: root/cli/tests/unit/fetch_test.ts
diff options
context:
space:
mode:
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
+ }
}
);