import { readFileSync } from "node:fs"; import { runInNewContext } from "node:vm"; import { test } from "node:test"; import assert from "node:assert/strict"; const html = readFileSync(new URL("../index.html", import.meta.url), "utf8"); const script = html.match(/