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

test: match per-run anchor candidate dir (#11782)

[._.]/ Adam Eivye028f5ebe07d
diff --git a/server/services/videoGen/local.test.js b/server/services/videoGen/local.test.js
index 665c54ffa4..4066351a13 100644
--- a/server/services/videoGen/local.test.js
+++ b/server/services/videoGen/local.test.js
@@ -849,7 +849,7 @@ describe('extractLastFrame — anchor selection', () => {
expect(spawns[0]).not.toContain('-vframes');
// Temp candidates are cleaned up rather than left in tmpdir.
expect(vi.mocked(rm)).toHaveBeenCalledWith(
- join(tmpdir(), `anchorcand-${ID}`),
+ expect.stringMatching(new RegExp(`anchorcand-${ID}-[0-9a-f-]{36}$`)),
{ recursive: true, force: true },
);
// Sidecar names the offset the anchor actually came from, derived from the