* fix(hopper): normalize string-backed addresses and update verification * feat(native): add inspection primitives, dispatch traces and approved UI observation * test: prioritize real artifact E2E and captured golden regressions * fix(process): queue observed output before reactive rendering actions * test: prune redundant cases and strengthen boundary assertions * fix(cli): route native value tracing through shared workflows * test: replace synthetic success with real workflows and captured data * fix(catalog): separate portable metadata from native host availability
22 lines
649 B
TypeScript
22 lines
649 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
|
|
import { parseConfig } from "./config.js";
|
|
|
|
describe("capability flags", () => {
|
|
it("rejects values outside the exact true/false boundary", () => {
|
|
for (const key of [
|
|
"REA_PROCESS_CAPTURE_ENABLED",
|
|
"REA_BROWSER_OBSERVE_ENABLED",
|
|
"REA_BROWSER_SCENARIO_ENABLED",
|
|
"REA_ELECTRON_OBSERVE_ENABLED",
|
|
"REA_ELECTRON_AUTOMATE_ENABLED",
|
|
"REA_V8_INSPECTOR_OBSERVE_ENABLED",
|
|
"REA_JAVASCRIPT_REPLAY_ENABLED",
|
|
"REA_MANAGED_RUNTIME_ENABLED",
|
|
]) {
|
|
const result = parseConfig({ [key]: "typo" });
|
|
expect(result.ok, key).toBe(false);
|
|
}
|
|
});
|
|
});
|