deno.land / x / esm@v135_2 / test / issue-732 / issue-732.test.ts

issue-732.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
import { 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"));});
esm

Version Info

Tagged at
a year ago