import { describe, expect, it } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { isWithinActiveHours } from "./heartbeat-active-hours.js";
it("respects user timezone windows for normal ranges", () => { const cfg = cfgWithUserTimezone("UTC"); const heartbeat = heartbeatWindow("08:00", "24:00", "user");
it("falls back to user timezone when activeHours timezone is invalid", () => { const cfg = cfgWithUserTimezone("UTC"); const heartbeat = heartbeatWindow("08:00", "10:00", "Mars/Olympus");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.