Skip to content

🎥 Make videos programmatically with React

test path on windows

Jonny Burgerf5c60a20005e
diff --git a/packages/example/src/test/stills.test.ts b/packages/example/src/test/stills.test.ts
index 7ef64cf2a8..239647a28e 100644
--- a/packages/example/src/test/stills.test.ts
+++ b/packages/example/src/test/stills.test.ts
@@ -35,7 +35,7 @@ test('Can render a still using Node.JS APIs', async () => {
expect(() =>
renderStill({
composition,
- output: '/var',
+ output: process.platform === 'win32' ? 'D:\\my\\path' : '/var',
webpackBundle: bundled,
})
).rejects.toThrow(/already exists, but is not a file/);