mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-16 18:34:18 +00:00
test: dedupe run main mock read
This commit is contained in:
@@ -54,7 +54,7 @@ const maybeRunCliInContainerMock = vi.hoisted(() =>
|
||||
);
|
||||
|
||||
function requireRunCrestodianOptions(index = 0): { onReady?: unknown } {
|
||||
const call = runCrestodianMock.mock.calls.at(index);
|
||||
const call = runCrestodianMock.mock.calls[index];
|
||||
if (!call) {
|
||||
throw new Error(`expected runCrestodian call ${index}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user