Skip to content

Commit

Permalink
Assert blob as-well
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb committed Sep 7, 2020
1 parent 874b486 commit 884b12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/tests/unit/fetch_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,8 @@ unitTest(function responseRedirect(): void {
unitTest(async function responseWithoutBody(): Promise<void> {
const response = new Response();
assertEquals(await response.arrayBuffer(), new ArrayBuffer(0));
assertEquals(await response.blob(), new Blob([]));
assertEquals(await response.text(), "");

await assertThrowsAsync(async () => {
await response.json();
});
Expand Down

0 comments on commit 884b12f

Please sign in to comment.