import { describe, expect, it } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { resolveHookEnableState, resolveHookEntries } from "./policy.js"; import type { HookEntry, HookSource } from "./types.js";
it("keeps later workspace entries for the same source/name", () => { const first = makeHookEntry("shared", "openclaw-workspace"); const second = makeHookEntry("shared", "openclaw-workspace");
second.hook.handlerPath = "/tmp/openclaw-workspace/shared/handler-2.js";
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.