mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
test: remove duplicate profile-specific daemon constant cases
This commit is contained in:
@@ -33,11 +33,6 @@ describe("resolveGatewayLaunchAgentLabel", () => {
|
||||
expect(result).toBe("ai.openclaw.dev");
|
||||
});
|
||||
|
||||
it("returns profile-specific label for custom profile", () => {
|
||||
const result = resolveGatewayLaunchAgentLabel("work");
|
||||
expect(result).toBe("ai.openclaw.work");
|
||||
});
|
||||
|
||||
it("trims whitespace from profile", () => {
|
||||
const result = resolveGatewayLaunchAgentLabel(" staging ");
|
||||
expect(result).toBe("ai.openclaw.staging");
|
||||
@@ -71,11 +66,6 @@ describe("resolveGatewaySystemdServiceName", () => {
|
||||
expect(result).toBe("openclaw-gateway-dev");
|
||||
});
|
||||
|
||||
it("returns profile-specific service name for custom profile", () => {
|
||||
const result = resolveGatewaySystemdServiceName("production");
|
||||
expect(result).toBe("openclaw-gateway-production");
|
||||
});
|
||||
|
||||
it("trims whitespace from profile", () => {
|
||||
const result = resolveGatewaySystemdServiceName(" test ");
|
||||
expect(result).toBe("openclaw-gateway-test");
|
||||
@@ -109,11 +99,6 @@ describe("resolveGatewayWindowsTaskName", () => {
|
||||
expect(result).toBe("OpenClaw Gateway (dev)");
|
||||
});
|
||||
|
||||
it("returns profile-specific task name for custom profile", () => {
|
||||
const result = resolveGatewayWindowsTaskName("work");
|
||||
expect(result).toBe("OpenClaw Gateway (work)");
|
||||
});
|
||||
|
||||
it("trims whitespace from profile", () => {
|
||||
const result = resolveGatewayWindowsTaskName(" ci ");
|
||||
expect(result).toBe("OpenClaw Gateway (ci)");
|
||||
|
||||
Reference in New Issue
Block a user