mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 21:20:22 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -106,7 +106,7 @@ describe("web session", () => {
|
||||
});
|
||||
|
||||
it("does not clobber creds backup when creds.json is corrupted", async () => {
|
||||
const credsSuffix = path.join(".clawdbot", "credentials", "whatsapp", "default", "creds.json");
|
||||
const credsSuffix = path.join(".openclaw", "credentials", "whatsapp", "default", "creds.json");
|
||||
|
||||
const copySpy = vi.spyOn(fsSync, "copyFileSync").mockImplementation(() => {});
|
||||
const existsSpy = vi.spyOn(fsSync, "existsSync").mockImplementation((p) => {
|
||||
@@ -182,9 +182,9 @@ describe("web session", () => {
|
||||
});
|
||||
|
||||
it("rotates creds backup when creds.json is valid JSON", async () => {
|
||||
const credsSuffix = path.join(".clawdbot", "credentials", "whatsapp", "default", "creds.json");
|
||||
const credsSuffix = path.join(".openclaw", "credentials", "whatsapp", "default", "creds.json");
|
||||
const backupSuffix = path.join(
|
||||
".clawdbot",
|
||||
".openclaw",
|
||||
"credentials",
|
||||
"whatsapp",
|
||||
"default",
|
||||
|
||||
Reference in New Issue
Block a user