🎥 Make videos programmatically with React
Update offthread-extract-url.test.ts
Jonny Burgeree3654c771cd
diff --git a/packages/renderer/src/test/offthread-extract-url.test.ts b/packages/renderer/src/test/offthread-extract-url.test.tsindex dc94f040f9..3c5eae1f33 100644--- a/packages/renderer/src/test/offthread-extract-url.test.ts+++ b/packages/renderer/src/test/offthread-extract-url.test.ts@@ -4,21 +4,23 @@ import {extractUrlAndSourceFromUrl} from '../offthread-video-server';test('Extract URL correctly', () => {expect(extractUrlAndSourceFromUrl(- '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframermp4withoutfileextension&time=1.3',+ '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframermp4withoutfileextension&time=1.3&toneMapped=true',),).toEqual({src: 'http://localhost:3000/public/framermp4withoutfileextension',time: 1.3,transparent: false,+ toneMapped: true,});expect(extractUrlAndSourceFromUrl(- '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframermp4withoutfileextension&time=1.3&transparent=true',+ '/proxy?src=http%3A%2F%2Flocalhost%3A3000%2Fpublic%2Fframermp4withoutfileextension&time=1.3&transparent=true&toneMapped=true',),).toEqual({src: 'http://localhost:3000/public/framermp4withoutfileextension',time: 1.3,transparent: true,+ toneMapped: true,});});