feat(native): add inspection primitives, dispatch traces and approved UI observation (#500)
* 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
This commit is contained in:
@@ -4,17 +4,18 @@ import { parseConfig } from "./config.js";
|
||||
|
||||
describe("capability flags", () => {
|
||||
it("rejects values outside the exact true/false boundary", () => {
|
||||
const result = parseConfig({
|
||||
REA_PROCESS_CAPTURE_ENABLED: "typo",
|
||||
REA_BROWSER_OBSERVE_ENABLED: "typo",
|
||||
REA_BROWSER_SCENARIO_ENABLED: "typo",
|
||||
REA_ELECTRON_OBSERVE_ENABLED: "typo",
|
||||
REA_ELECTRON_AUTOMATE_ENABLED: "typo",
|
||||
REA_V8_INSPECTOR_OBSERVE_ENABLED: "typo",
|
||||
REA_JAVASCRIPT_REPLAY_ENABLED: "typo",
|
||||
REA_MANAGED_RUNTIME_ENABLED: "typo",
|
||||
});
|
||||
|
||||
expect(result.ok).toBe(false);
|
||||
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);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user