refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -159,16 +159,16 @@ describe("resolveSlackThreadTs", () => {
describe("buildSlackSlashCommandMatcher", () => {
it("matches with or without a leading slash", () => {
const matcher = buildSlackSlashCommandMatcher("clawd");
const matcher = buildSlackSlashCommandMatcher("openclaw");
expect(matcher.test("clawd")).toBe(true);
expect(matcher.test("/clawd")).toBe(true);
expect(matcher.test("openclaw")).toBe(true);
expect(matcher.test("/openclaw")).toBe(true);
});
it("does not match similar names", () => {
const matcher = buildSlackSlashCommandMatcher("clawd");
const matcher = buildSlackSlashCommandMatcher("openclaw");
expect(matcher.test("/clawd-bot")).toBe(false);
expect(matcher.test("clawd-bot")).toBe(false);
expect(matcher.test("/openclaw-bot")).toBe(false);
expect(matcher.test("openclaw-bot")).toBe(false);
});
});