Files
ln-bi/src/modules/energy/hydrogen-bi-v2/independent-entry.test.ts
T
kfluousandHiFox Agent 6c91a6694a
ci/woodpecker/push/woodpecker Pipeline was successful
fix(energy): deliver prototype-aligned hydrogen board and acceptance fixes
Co-authored-by: HiFox Agent <agents-noreply@hifox.com>
2026-09-03 22:27:23 +08:00

13 lines
619 B
TypeScript

import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import test from "node:test";
test("能源氢费 BI 入口与独立验收地址复用同一看板", () => {
const entry = readFileSync(new URL("../HydrogenModule.tsx", import.meta.url), "utf8");
const app = readFileSync(new URL("../../../App.tsx", import.meta.url), "utf8");
assert.match(entry, /vendor\/lnbi-8113-exact\/prototypes\/energy-h2-bi-board\/EnergyBiBoardApp/);
assert.match(entry, /return <EnergyBiBoardApp \/>/);
assert.match(app, /vendor\/lnbi-8113-exact\/prototypes\/energy-h2-bi-board\/EnergyBiBoardApp/);
});