Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep the media-authoring authority test tolerant of the auto-approve options arg

[._.]/ Adam Eivy0a4ad61a99d7
diff --git a/server/routes/hostControlMediaAuthoring.test.js b/server/routes/hostControlMediaAuthoring.test.js
index 838218bdf5..ca1a1351c7 100644
--- a/server/routes/hostControlMediaAuthoring.test.js
+++ b/server/routes/hostControlMediaAuthoring.test.js
@@ -194,7 +194,7 @@ describe('media authoring operator authority (#9512)', () => {
}
for (const [, body, service] of authoring) {
expect(service).toHaveBeenCalledTimes(3);
- if (body.providerId) expect(service).toHaveBeenLastCalledWith(expect.objectContaining(picker));
+ if (body.providerId) expect(service.mock.lastCall[0]).toEqual(expect.objectContaining(picker));
}
});