deno.land / x / esm@v135_2 / test / issue-732 / issue-732.test.ts
12345678910111213import { assert } from "https://deno.land/std@0.180.0/testing/asserts.ts";
Deno.test("issue #732", async () => { const res = await fetch( "http://localhost:8080/lib0@0.2.83/webcrypto?target=es2022", ); const id = res.headers.get("x-esm-id"); res.body?.cancel(); const res2 = await fetch(`http://localhost:8080/${id}`); const code = await res2.text(); assert(!code.includes("crypto-browserify"));});
Version Info