mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 11:52:52 -05:00

Fixes several tests blocking https://github.com/denoland/deno/pull/25213 by replacing `window` global that is gone in Deno 2 with `globalThis`. Also adjusted a few tests using deprecated `rid` field.
3 lines
92 B
TypeScript
3 lines
92 B
TypeScript
const data1 = await import("./data.json", { with: { type: "json" } });
|
|
|
|
console.log(data1);
|