import { TEST_DIR } from "../helpers.ts"; import { assertEquals, assertRejects } from "@std/assert"; import { loadIndexHtml } from "../../lib/index-html.ts"; Deno.test("loadIndexHtml: fills the placeholders, and rereads a rebuilt file", async () => { const root = `${TEST_DIR}/index-html-${crypto.randomUUID()}`; await Deno.mkdir(root, { recursive: true }); const path = `${root}/index.html`; await Deno.writeTextFile( path, "