12 lines
551 B
TypeScript
12 lines
551 B
TypeScript
import assert from "node:assert/strict";
|
|
import test from "node:test";
|
|
import { runDevelopmentLiveValidation } from "./development-live-validation.ts";
|
|
|
|
const enabled = process.env.FAST_BROWSER_DEVELOPMENT_LIVE === "1";
|
|
|
|
test("development feature live validation is opt-in and never silently accepts unavailable evidence", { skip: !enabled }, async () => {
|
|
const report = await runDevelopmentLiveValidation();
|
|
assert.equal(report.ok, true, JSON.stringify(report));
|
|
assert.equal(report.cases.some((item) => item.status === "failed"), false);
|
|
});
|