test(settings): include idle-gate keys in total

This commit is contained in:
v-openrig-build committed 2026-08-08 19:59:59 +00:00
1 parent 416bb61b66
commit 045dea269c
1 file changed
+4 -2
@@ -86,8 +86,10 @@ describe("config routes (User Settings v0)", () => {
// + 1 OPR.0.4.6.02 (terminal.status_bar — the ratified sole v1 terminal key)
// + 5 OPR.0.4.6.FS-1 W2 (retention.enabled / transitions_days / watchdog_days /
// watchdog_keep_per_job / batch_size — the CLI-settable queue-retention knobs;
// + retention.usage_samples_days, 51-08 A2) → 50 total.
expect(Object.keys(body.settings).length).toBe(50);
// + retention.usage_samples_days, 51-08 A2)
// + 2 OPR.0.5.1 W2c (policies.idle_gate_qitem.scan_interval_seconds /
// active_wake_interval_seconds) → 52 total.
expect(Object.keys(body.settings).length).toBe(52);
expect(body.settings["daemon.port"]?.source).toBe("default");
expect(body.settings["ui.preview.refresh_interval_seconds"]?.value).toBe(3);
expect(body.settings["ui.preview.max_pins"]?.value).toBe(4);