Skip to content

The open source AI video agent: turns any coding agent into a video agent, with an editor to change anything it makes.

Tests: the export tests record their problems in their own home, not in the person's (#223)

WEBGRSb9daec825463
diff --git a/.changeset/exports-test-own-home.md b/.changeset/exports-test-own-home.md
new file mode 100644
index 0000000..a845151
--- /dev/null
+++ b/.changeset/exports-test-own-home.md
@@ -0,0 +1,2 @@
+---
+---
diff --git a/packages/openfilm/studio/server/exports.test.mjs b/packages/openfilm/studio/server/exports.test.mjs
index 3a978f8..230ac30 100644
--- a/packages/openfilm/studio/server/exports.test.mjs
+++ b/packages/openfilm/studio/server/exports.test.mjs
@@ -23,6 +23,8 @@ let root, scratch;
before(() => {
scratch = mkdtempSync(join(tmpdir(), 'of-exports-'));
process.env.OPENFILM_EXPORTS = join(scratch, 'Exports');
+ /* the problems the failing exports here record go to this home's log, not to the person's (Studio's report reads it) */
+ process.env.OPENFILM_HOME = join(scratch, 'home');
root = join(scratch, 'Tiny');
mkdirSync(join(root, 'assets', 'audio', 'sfx'), { recursive: true });
mkdirSync(join(root, 'assets', 'audio', 'music'), { recursive: true });