mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 08:30:25 +00:00
fix(ci): align test mock typings
This commit is contained in:
@@ -354,7 +354,8 @@ describe("registerSlackInteractionEvents", () => {
|
||||
});
|
||||
|
||||
expect(ack).toHaveBeenCalled();
|
||||
const dispatchCall = dispatchPluginInteractiveHandlerMock.mock.calls[0]?.[0] as
|
||||
const dispatchCalls = dispatchPluginInteractiveHandlerMock.mock.calls as unknown[][];
|
||||
const dispatchCall = dispatchCalls[0]?.[0] as
|
||||
| {
|
||||
channel?: string;
|
||||
data?: string;
|
||||
|
||||
Reference in New Issue
Block a user