Release govoplan-templates v0.1.22: bound rendering and improve dialog layout
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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, /<Dialog open=\{createOpen\}[^]*?<FormGrid columns=\{2\} collapseAt="standard">/);
|
||||
assert.doesNotMatch(page, /templates-dialog-form/);
|
||||
assert.doesNotMatch(styles, /templates-dialog-form/);
|
||||
console.log("Templates dialog uses the shared shrinking form layout.");
|
||||
Reference in New Issue
Block a user