mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 14:30:43 +00:00
test: tighten workspace hook exclusion assertion
This commit is contained in:
@@ -132,7 +132,9 @@ describe("hooks workspace", () => {
|
||||
}
|
||||
|
||||
const entries = loadHookEntriesFromDir({ dir: hooksRoot, source: "openclaw-workspace" });
|
||||
expect(hookNames(entries)).not.toEqual(expect.arrayContaining(["hardlink-hook", "outside"]));
|
||||
const names = hookNames(entries);
|
||||
expect(names).not.toContain("hardlink-hook");
|
||||
expect(names).not.toContain("outside");
|
||||
});
|
||||
|
||||
it("ignores hooks with hardlinked handler aliases", () => {
|
||||
|
||||
Reference in New Issue
Block a user