Prettier fix on last commit
This commit is contained in:
parent
52023ff1c3
commit
8f1ed7588d
1 changed files with 9 additions and 7 deletions
|
|
@ -1234,14 +1234,16 @@ describe("OAuthManager", () => {
|
|||
token_type: "Bearer",
|
||||
scope: "mcp",
|
||||
});
|
||||
const silentSpy = vi.spyOn(emaFlow, "trySilentEmaAuth").mockImplementation(async () => {
|
||||
storageOf(params).getTokens.mockResolvedValue({
|
||||
access_token: "tok",
|
||||
token_type: "Bearer",
|
||||
scope: "mcp weather:read",
|
||||
const silentSpy = vi
|
||||
.spyOn(emaFlow, "trySilentEmaAuth")
|
||||
.mockImplementation(async () => {
|
||||
storageOf(params).getTokens.mockResolvedValue({
|
||||
access_token: "tok",
|
||||
token_type: "Bearer",
|
||||
scope: "mcp weather:read",
|
||||
});
|
||||
return { status: "success" };
|
||||
});
|
||||
return { status: "success" };
|
||||
});
|
||||
const manager = new OAuthManager(params);
|
||||
manager.setOAuthConfig({ enterpriseManaged: true });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue