mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-16 18:34:18 +00:00
test: dedupe synology route mock read
This commit is contained in:
@@ -87,7 +87,7 @@ describe("Synology channel wiring integration", () => {
|
||||
);
|
||||
expect(registerPluginHttpRouteMock).toHaveBeenCalledTimes(1);
|
||||
|
||||
const firstCall = registerPluginHttpRouteMock.mock.calls.at(0);
|
||||
const firstCall = registerPluginHttpRouteMock.mock.calls[0];
|
||||
if (!firstCall) {
|
||||
throw new Error("Expected registerPluginHttpRoute to be called");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user