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([issue-9514]): make composition refusal checks independent of prior renders (#9517)

[._.]/d2c36811ec2f
diff --git a/server/services/htmlComposition/index.test.js b/server/services/htmlComposition/index.test.js
index 788d6ba6ce..6bdc4ff899 100644
--- a/server/services/htmlComposition/index.test.js
+++ b/server/services/htmlComposition/index.test.js
@@ -64,6 +64,11 @@ describe.skipIf(!chrome || !ffmpeg)('HTML composition with real Chrome and ffmpe
browserSession = await browser.newBrowserCDPSession();
}, 30000);
+ beforeEach(async () => {
+ await mkdir(PATHS.videos, { recursive: true });
+ await mkdir(PATHS.videoThumbnails, { recursive: true });
+ });
+
// Each render writes its composition dir, MP4 and thumbnail under the data
// root; dropping them per test keeps the run root's peak size (and what a
// killed run strands) small (#9113). The Chrome profile must survive.