Skip to content

Commit a0b9a02

Browse files
committed
test: update oauth mock signature
1 parent 2766dd8 commit a0b9a02

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/agents/pi-tools.workspace-only-false.test.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@ import os from "node:os";
33
import path from "node:path";
44
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
55

6-
vi.mock(
7-
"@mariozechner/pi-ai/oauth",
8-
() => ({
9-
getOAuthApiKey: () => undefined,
10-
getOAuthProviders: () => [],
11-
}),
12-
{ virtual: true },
13-
);
6+
vi.mock("@mariozechner/pi-ai/oauth", () => ({
7+
getOAuthApiKey: () => undefined,
8+
getOAuthProviders: () => [],
9+
}));
1410

1511
import { createOpenClawCodingTools } from "./pi-tools.js";
1612

0 commit comments

Comments
 (0)