Skip to content

🎥 Make videos programmatically with React

fix test on windows

Jonny Burgerf19ea06ba311
diff --git a/packages/create-video/src/test/git-status.test.ts b/packages/create-video/src/test/git-status.test.ts
index 4da33e9df0..921f16ab9e 100644
--- a/packages/create-video/src/test/git-status.test.ts
+++ b/packages/create-video/src/test/git-status.test.ts
@@ -6,7 +6,9 @@ test('Get git status', async () => {
const status = await checkGitAvailability(process.cwd(), 'git');
expect(status).toEqual({
type: 'is-git-repo',
- location: path.posix.join(__dirname, '..', '..', '..', '..'),
+ location: path.posix
+ .join(__dirname, '..', '..', '..', '..')
+ .replace(/\\/g, '/'),
});
if (status.type !== 'is-git-repo') {