fast-browser-with-jev
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
});
|
||||
Reference in New Issue
Block a user