fix: no-window lint error (#2272)
Latest PR runs are failing with linting errors, e.g. https://github.com/denoland/fresh/actions/runs/7625625084/job/20770308634?pr=2266 Maybe this shouldn't be happening like this right now, but we'll still need to clean these up eventually.
This commit is contained in:
@@ -116,7 +116,7 @@ Deno.test("rewrites root relative URLs in HTML", async () => {
|
||||
|
||||
const style = await page.$eval(
|
||||
".foo",
|
||||
(el) => window.getComputedStyle(el).color,
|
||||
(el) => globalThis.getComputedStyle(el).color,
|
||||
);
|
||||
assertMatch(
|
||||
style,
|
||||
|
||||
Reference in New Issue
Block a user