16 lines
494 B
TypeScript
16 lines
494 B
TypeScript
import assert from "node:assert/strict";
|
|
import { execFileSync } from "node:child_process";
|
|
import { describe, it } from "vitest";
|
|
|
|
describe("verify-ui-hot-swap", () => {
|
|
it("runs the hot-swap drill as a testable verifier", () => {
|
|
const output = execFileSync("pnpm", ["exec", "tsx", "scripts/verify-ui-hot-swap.ts"], {
|
|
cwd: process.cwd(),
|
|
encoding: "utf8",
|
|
stdio: ["ignore", "pipe", "pipe"],
|
|
});
|
|
|
|
assert.match(output, /UI hot-swap drill verified\./);
|
|
});
|
|
});
|