mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:08:26 +00:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -10,9 +10,7 @@ describe("oauth paths", () => {
|
||||
CLAWDBOT_STATE_DIR: "/custom/state",
|
||||
} as NodeJS.ProcessEnv;
|
||||
|
||||
expect(resolveOAuthDir(env, "/custom/state")).toBe(
|
||||
path.resolve("/custom/oauth"),
|
||||
);
|
||||
expect(resolveOAuthDir(env, "/custom/state")).toBe(path.resolve("/custom/oauth"));
|
||||
expect(resolveOAuthPath(env, "/custom/state")).toBe(
|
||||
path.join(path.resolve("/custom/oauth"), "oauth.json"),
|
||||
);
|
||||
@@ -23,9 +21,7 @@ describe("oauth paths", () => {
|
||||
CLAWDBOT_STATE_DIR: "/custom/state",
|
||||
} as NodeJS.ProcessEnv;
|
||||
|
||||
expect(resolveOAuthDir(env, "/custom/state")).toBe(
|
||||
path.join("/custom/state", "credentials"),
|
||||
);
|
||||
expect(resolveOAuthDir(env, "/custom/state")).toBe(path.join("/custom/state", "credentials"));
|
||||
expect(resolveOAuthPath(env, "/custom/state")).toBe(
|
||||
path.join("/custom/state", "credentials", "oauth.json"),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user