chore: disable sanitizers in esbuild tests (#2461)

This commit is contained in:
Marvin Hagemeister
2024-05-24 20:39:54 +02:00
committed by GitHub
parent 77dc77826e
commit 9a7399a769
+6 -1
View File
@@ -3,7 +3,9 @@ import * as path from "@std/path";
import { Builder } from "./builder.ts"; import { Builder } from "./builder.ts";
import { App } from "../app.ts"; import { App } from "../app.ts";
Deno.test("Builder - chain onTransformStaticFile", async () => { Deno.test({
name: "Builder - chain onTransformStaticFile",
fn: async () => {
const logs: string[] = []; const logs: string[] = [];
const builder = new Builder(); const builder = new Builder();
builder.onTransformStaticFile( builder.onTransformStaticFile(
@@ -36,6 +38,9 @@ Deno.test("Builder - chain onTransformStaticFile", async () => {
await builder.build(app); await builder.build(app);
expect(logs).toEqual(["A", "B", "C"]); expect(logs).toEqual(["A", "B", "C"]);
},
sanitizeOps: false,
sanitizeResources: false,
}); });
Deno.test({ Deno.test({