Skip to content

Commit

Permalink
chore(ext/web): ignore op sanitizer for textDecoderStreamCleansUpOnCa…
Browse files Browse the repository at this point in the history
…ncel
  • Loading branch information
mmastrac committed Nov 13, 2023
1 parent 6e1f3aa commit cbb33c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli/tests/unit/text_encoding_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,12 @@ Deno.test(function binaryEncode() {
});

Deno.test(
{ permissions: { read: true } },
{
permissions: { read: true },
// TODO(mmastrac): readableStreamForRid doesn't guarantee cancellation of ops, so we may be left with a
// dangling read op that triggers the sanitizer.
sanitizeOps: false,
},
async function textDecoderStreamCleansUpOnCancel() {
const filename = "cli/tests/testdata/assets/hello.txt";
const file = await Deno.open(filename);
Expand Down

0 comments on commit cbb33c5

Please sign in to comment.