mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
test: remove duplicate uppercase default profile case
This commit is contained in:
@@ -118,13 +118,6 @@ describe("resolveSystemdUserUnitPath", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("handles case-insensitive 'DEFAULT' profile", () => {
|
||||
const env = { HOME: "/home/test", OPENCLAW_PROFILE: "DEFAULT" };
|
||||
expect(resolveSystemdUserUnitPath(env)).toBe(
|
||||
"/home/test/.config/systemd/user/openclaw-gateway.service",
|
||||
);
|
||||
});
|
||||
|
||||
it("trims whitespace from OPENCLAW_PROFILE", () => {
|
||||
const env = { HOME: "/home/test", OPENCLAW_PROFILE: " myprofile " };
|
||||
expect(resolveSystemdUserUnitPath(env)).toBe(
|
||||
|
||||
Reference in New Issue
Block a user