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",
|
token_type: "Bearer",
|
||||||
scope: "mcp",
|
scope: "mcp",
|
||||||
});
|
});
|
||||||
const silentSpy = vi.spyOn(emaFlow, "trySilentEmaAuth").mockImplementation(async () => {
|
const silentSpy = vi
|
||||||
storageOf(params).getTokens.mockResolvedValue({
|
.spyOn(emaFlow, "trySilentEmaAuth")
|
||||||
access_token: "tok",
|
.mockImplementation(async () => {
|
||||||
token_type: "Bearer",
|
storageOf(params).getTokens.mockResolvedValue({
|
||||||
scope: "mcp weather:read",
|
access_token: "tok",
|
||||||
|
token_type: "Bearer",
|
||||||
|
scope: "mcp weather:read",
|
||||||
|
});
|
||||||
|
return { status: "success" };
|
||||||
});
|
});
|
||||||
return { status: "success" };
|
|
||||||
});
|
|
||||||
const manager = new OAuthManager(params);
|
const manager = new OAuthManager(params);
|
||||||
manager.setOAuthConfig({ enterpriseManaged: true });
|
manager.setOAuthConfig({ enterpriseManaged: true });
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue