mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-28 08:52:45 +00:00
test: fix plugin stream typing assertions
This commit is contained in:
@@ -85,7 +85,9 @@ describe("openrouter provider hooks", () => {
|
||||
);
|
||||
|
||||
expect(baseStreamFn).toHaveBeenCalledOnce();
|
||||
expect(baseStreamFn.mock.calls[0]?.[0]).toMatchObject({
|
||||
const firstCall = baseStreamFn.mock.calls[0];
|
||||
const firstModel = firstCall?.[0];
|
||||
expect(firstModel).toMatchObject({
|
||||
compat: {
|
||||
openRouterRouting: {
|
||||
order: ["moonshot"],
|
||||
|
||||
Reference in New Issue
Block a user