mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 18:12:59 -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.
4 lines
131 B
TypeScript
4 lines
131 B
TypeScript
globalThis.sessionStorage.setItem("hello", "deno");
|
|
|
|
console.log(globalThis.localStorage);
|
|
console.log(globalThis.sessionStorage);
|