Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

test: use native path separators in history output assertion

kashorin72a62f24d355
diff --git a/packages/cli/test/build-results.test.ts b/packages/cli/test/build-results.test.ts
index 0b6f042a..6228006f 100644
--- a/packages/cli/test/build-results.test.ts
+++ b/packages/cli/test/build-results.test.ts
@@ -684,7 +684,7 @@ test("history through a directory alias still finds a Source after its directory
const history = await jsonCommand(["history", "stage.value", "--source", join(alias, "chapter", "main.svml")], alias) as {
source: string; entries: { build: string }[];
};
- assert.equal(history.source, "chapter/main.svml");
+ assert.equal(history.source, join("chapter", "main.svml"));
assert.deepEqual(history.entries.map((entry) => entry.build), [id]);
} finally { await rm(parent, { recursive: true, force: true }); }
});