mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 06:42:44 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -16,7 +16,7 @@ describe("hasAnyWhatsAppAuth", () => {
|
||||
|
||||
beforeEach(() => {
|
||||
previousOauthDir = process.env.CLAWDBOT_OAUTH_DIR;
|
||||
tempOauthDir = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-oauth-"));
|
||||
tempOauthDir = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-oauth-"));
|
||||
process.env.CLAWDBOT_OAUTH_DIR = tempOauthDir;
|
||||
});
|
||||
|
||||
@@ -47,7 +47,7 @@ describe("hasAnyWhatsAppAuth", () => {
|
||||
});
|
||||
|
||||
it("includes authDir overrides", () => {
|
||||
const customDir = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-wa-auth-"));
|
||||
const customDir = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-wa-auth-"));
|
||||
try {
|
||||
writeCreds(customDir);
|
||||
const cfg = {
|
||||
|
||||
Reference in New Issue
Block a user