summaryrefslogtreecommitdiff
path: root/tests/unit_node/zlib_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_node/zlib_test.ts')
-rw-r--r--tests/unit_node/zlib_test.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/unit_node/zlib_test.ts b/tests/unit_node/zlib_test.ts
index 9122997fe..c7e9bbca9 100644
--- a/tests/unit_node/zlib_test.ts
+++ b/tests/unit_node/zlib_test.ts
@@ -36,7 +36,7 @@ Deno.test("brotli compression async", async () => {
assertEquals(decompressed.toString(), "hello world");
});
-Deno.test("gzip compression sync", { sanitizeResources: false }, () => {
+Deno.test("gzip compression sync", () => {
const buf = Buffer.from("hello world");
const compressed = gzipSync(buf);
const decompressed = unzipSync(compressed);
@@ -94,7 +94,6 @@ Deno.test("brotli end-to-end with 4097 bytes", () => {
Deno.test(
"zlib create deflate with dictionary",
- { sanitizeResources: false },
async () => {
const { promise, resolve } = Promise.withResolvers<void>();
const handle = createDeflate({
@@ -111,8 +110,6 @@ Deno.test(
Deno.test(
"zlib flush i32",
- // FIXME: Handle is not closed properly
- { sanitizeResources: false },
function () {
const handle = createDeflate({
// @ts-expect-error: passing non-int flush value
@@ -142,7 +139,6 @@ Deno.test("should work with a buffer from an encoded string", () => {
Deno.test(
"zlib compression with dataview",
- { sanitizeResources: false },
() => {
const buf = Buffer.from("hello world");
const compressed = gzipSync(new DataView(buf.buffer));
@@ -151,9 +147,7 @@ Deno.test(
},
);
-Deno.test("zlib compression with an encoded string", {
- sanitizeResources: false,
-}, () => {
+Deno.test("zlib compression with an encoded string", () => {
const encoder = new TextEncoder();
const buffer = encoder.encode("hello world");
const compressed = gzipSync(buffer);