mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
test(msteams): remove tuple-unsafe spread in lifecycle mocks
This commit is contained in:
committed by
Peter Steinberger
parent
c9d0e345cb
commit
15677133c1
@@ -78,7 +78,7 @@ const loadMSTeamsSdkWithAuth = vi.hoisted(() =>
|
||||
);
|
||||
|
||||
vi.mock("./monitor-handler.js", () => ({
|
||||
registerMSTeamsHandlers: (...args: unknown[]) => registerMSTeamsHandlers(...args),
|
||||
registerMSTeamsHandlers: () => registerMSTeamsHandlers(),
|
||||
}));
|
||||
|
||||
vi.mock("./resolve-allowlist.js", () => ({
|
||||
@@ -87,8 +87,8 @@ vi.mock("./resolve-allowlist.js", () => ({
|
||||
}));
|
||||
|
||||
vi.mock("./sdk.js", () => ({
|
||||
createMSTeamsAdapter: (...args: unknown[]) => createMSTeamsAdapter(...args),
|
||||
loadMSTeamsSdkWithAuth: (...args: unknown[]) => loadMSTeamsSdkWithAuth(...args),
|
||||
createMSTeamsAdapter: () => createMSTeamsAdapter(),
|
||||
loadMSTeamsSdkWithAuth: () => loadMSTeamsSdkWithAuth(),
|
||||
}));
|
||||
|
||||
vi.mock("./runtime.js", () => ({
|
||||
|
||||
Reference in New Issue
Block a user