| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ import { encode, decode, decodeAsync } from "../src/index.ts"; | |||
| 3 | 3 | ||
| 4 | 4 | (typeof Blob !== "undefined" ? describe : describe.skip)("Blob", () => { | |
| 5 | 5 | it("decodes it with `decode()`", async function () { | |
| 6 | - const blob = new Blob([encode("Hello!") as BlobPart]); | ||
| 6 | + const blob = new Blob([encode("Hello!")]); | ||
| 7 | 7 | // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | |
| 8 | 8 | if (!blob.arrayBuffer) { | |
| 9 | 9 | this.skip(); | |
@@ -12,7 +12,7 @@ import { encode, decode, decodeAsync } from "../src/index.ts"; | |||
| 12 | 12 | }); | |
| 13 | 13 | ||
| 14 | 14 | it("decodes it with `decodeAsync()`", async function () { | |
| 15 | - const blob = new Blob([encode("Hello!") as BlobPart]); | ||
| 15 | + const blob = new Blob([encode("Hello!")]); | ||
| 16 | 16 | // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition | |
| 17 | 17 | if (!blob.stream) { | |
| 18 | 18 | this.skip(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments