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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: require grounded shot draft and review calls (#13204)
[._.]/ Adam Eivy60a83ab8bfe3
diff --git a/server/services/fableLoom/shots.test.js b/server/services/fableLoom/shots.test.jsindex 96212efd38..b184fc0d38 100644--- a/server/services/fableLoom/shots.test.js+++ b/server/services/fableLoom/shots.test.js@@ -47,7 +47,9 @@ describe('timed shot autopilot', () => {const updated = await updateNode(loom.id, ep, groups[0].sceneId, visual);mockPlan(groups);await runEpisodeShotAutopilot(loom.id, ep);- for (const [, variables] of runStagedLLM.mock.calls.filter(([, variables]) => JSON.parse(variables.source).scenes[0]?.shot)) {+ const groundedCalls = runStagedLLM.mock.calls.filter(([, variables]) => JSON.parse(variables.source).scenes[0]?.shot);+ expect(groundedCalls).toHaveLength(2);+ for (const [, variables] of groundedCalls) {const source = JSON.parse(variables.source);expect(source.startNodeId).toBe(updated.episodes[0].startNodeId);if (source.scenes[0].id === groups[0].sceneId) expect(source.scenes[0]).toMatchObject(visual);