ci/woodpecker/push/woodpecker Pipeline was successful
Co-authored-by: HiFox Agent <agents-noreply@hifox.com>
13 lines
619 B
TypeScript
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/);
|
|
});
|