test: remove duplicate uppercase default profile daemon cases

This commit is contained in:
Peter Steinberger
2026-02-16 06:29:20 +00:00
parent 6a9ead3813
commit 91e120870f
2 changed files with 0 additions and 14 deletions

View File

@@ -214,13 +214,6 @@ describe("resolveLaunchAgentPlistPath", () => {
);
});
it("handles case-insensitive 'DEFAULT' profile", () => {
const env = { HOME: "/Users/test", OPENCLAW_PROFILE: "DEFAULT" };
expect(resolveLaunchAgentPlistPath(env)).toBe(
"/Users/test/Library/LaunchAgents/ai.openclaw.gateway.plist",
);
});
it("trims whitespace from OPENCLAW_PROFILE", () => {
const env = { HOME: "/Users/test", OPENCLAW_PROFILE: " myprofile " };
expect(resolveLaunchAgentPlistPath(env)).toBe(

View File

@@ -72,13 +72,6 @@ describe("resolveTaskScriptPath", () => {
);
});
it("handles case-insensitive 'DEFAULT' profile", () => {
const env = { USERPROFILE: "C:\\Users\\test", OPENCLAW_PROFILE: "DEFAULT" };
expect(resolveTaskScriptPath(env)).toBe(
path.join("C:\\Users\\test", ".openclaw", "gateway.cmd"),
);
});
it("trims whitespace from OPENCLAW_PROFILE", () => {
const env = { USERPROFILE: "C:\\Users\\test", OPENCLAW_PROFILE: " myprofile " };
expect(resolveTaskScriptPath(env)).toBe(