import assert from "node:assert/strict"; import { readFileSync } from "node:fs"; import { resolve } from "node:path"; import { fileURLToPath } from "node:url"; const root = resolve(fileURLToPath(new URL("..", import.meta.url))); const read = (path) => readFileSync(resolve(root, path), "utf8"); const page = read("src/features/payments/PaymentsPage.tsx"); const createDialog = read("src/features/payments/PaymentRequestDialog.tsx"); const reconcileDialog = read("src/features/payments/ManualReconciliationDialog.tsx"); const styles = read("src/styles/payments.css"); assert.match(page, /