mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: dedupe foundry provider mock read
This commit is contained in:
@@ -53,7 +53,7 @@ function registerProvider() {
|
||||
}),
|
||||
);
|
||||
expect(registerProviderMock).toHaveBeenCalledTimes(1);
|
||||
const firstCall = registerProviderMock.mock.calls.at(0);
|
||||
const firstCall = registerProviderMock.mock.calls[0];
|
||||
if (!firstCall) {
|
||||
throw new Error("expected Microsoft Foundry provider registration");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user