mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 12:07:40 +00:00
Branding: update bot.molt bundle IDs + launchd labels
This commit is contained in:
@@ -14,7 +14,7 @@ describe("resolveGatewayLaunchAgentLabel", () => {
|
||||
it("returns default label when no profile is set", () => {
|
||||
const result = resolveGatewayLaunchAgentLabel();
|
||||
expect(result).toBe(GATEWAY_LAUNCH_AGENT_LABEL);
|
||||
expect(result).toBe("com.clawdbot.gateway");
|
||||
expect(result).toBe("bot.molt.gateway");
|
||||
});
|
||||
|
||||
it("returns default label when profile is undefined", () => {
|
||||
@@ -34,17 +34,17 @@ describe("resolveGatewayLaunchAgentLabel", () => {
|
||||
|
||||
it("returns profile-specific label when profile is set", () => {
|
||||
const result = resolveGatewayLaunchAgentLabel("dev");
|
||||
expect(result).toBe("com.clawdbot.dev");
|
||||
expect(result).toBe("bot.molt.dev");
|
||||
});
|
||||
|
||||
it("returns profile-specific label for custom profile", () => {
|
||||
const result = resolveGatewayLaunchAgentLabel("work");
|
||||
expect(result).toBe("com.clawdbot.work");
|
||||
expect(result).toBe("bot.molt.work");
|
||||
});
|
||||
|
||||
it("trims whitespace from profile", () => {
|
||||
const result = resolveGatewayLaunchAgentLabel(" staging ");
|
||||
expect(result).toBe("com.clawdbot.staging");
|
||||
expect(result).toBe("bot.molt.staging");
|
||||
});
|
||||
|
||||
it("returns default label for empty string profile", () => {
|
||||
|
||||
Reference in New Issue
Block a user