chore: disable sanitizers in esbuild tests (#2461)
This commit is contained in:
@@ -3,7 +3,9 @@ import * as path from "@std/path";
|
||||
import { Builder } from "./builder.ts";
|
||||
import { App } from "../app.ts";
|
||||
|
||||
Deno.test("Builder - chain onTransformStaticFile", async () => {
|
||||
Deno.test({
|
||||
name: "Builder - chain onTransformStaticFile",
|
||||
fn: async () => {
|
||||
const logs: string[] = [];
|
||||
const builder = new Builder();
|
||||
builder.onTransformStaticFile(
|
||||
@@ -36,6 +38,9 @@ Deno.test("Builder - chain onTransformStaticFile", async () => {
|
||||
await builder.build(app);
|
||||
|
||||
expect(logs).toEqual(["A", "B", "C"]);
|
||||
},
|
||||
sanitizeOps: false,
|
||||
sanitizeResources: false,
|
||||
});
|
||||
|
||||
Deno.test({
|
||||
|
||||
Reference in New Issue
Block a user