import assert from "node:assert/strict"; import { readFileSync } from "node:fs"; const page = readFileSync(new URL("../src/features/templates/TemplatesPage.tsx", import.meta.url), "utf8"); const styles = readFileSync(new URL("../src/styles/templates.css", import.meta.url), "utf8"); assert.match(page, //); assert.doesNotMatch(page, /templates-dialog-form/); assert.doesNotMatch(styles, /templates-dialog-form/); console.log("Templates dialog uses the shared shrinking form layout.");