Skip to content

🎥 Make videos programmatically with React

fix test

Jonny Burgeraed52d08dc02
diff --git a/packages/renderer/src/test/offthread-extract-url.test.ts b/packages/renderer/src/test/offthread-extract-url.test.ts
index 723b4829e5..236d3de7fd 100644
--- a/packages/renderer/src/test/offthread-extract-url.test.ts
+++ b/packages/renderer/src/test/offthread-extract-url.test.ts
@@ -3,10 +3,11 @@ import {extractUrlAndSourceFromUrl} from '../offthread-video-server';
test('Extract URL correctly', () => {
expect(
extractUrlAndSourceFromUrl(
- '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframer.mp4&time=1.3'
+ '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframer.mp4&time=1.3&imageFormat=png'
)
).toEqual({
src: 'http://localhost:3000/public/framer.mp4',
time: 1.3,
+ imageFormat: 'png',
});
});