🎥 Make videos programmatically with React
Fix make-render-command tests to expect bunx instead of npx
Jonny Burger964e684c3a76
diff --git a/packages/studio/src/test/make-render-command.test.ts b/packages/studio/src/test/make-render-command.test.tsindex 27ef693a83..f1a5f6f4f2 100644--- a/packages/studio/src/test/make-render-command.test.ts+++ b/packages/studio/src/test/make-render-command.test.ts@@ -114,10 +114,10 @@ const getBaseInput = (): Parameters<test('Should map to npm-based command prefix', () => {expect(getNpmRemotionCommandPrefix('4.0.431')).toBe(- 'npx --yes --location=global -p @remotion/[email protected] remotion',+ 'bunx --yes --location=global -p @remotion/[email protected] remotion',);expect(getNpmRemotionCommandPrefix('')).toBe(- 'npx --yes --location=global -p @remotion/cli remotion',+ 'bunx --yes --location=global -p @remotion/cli remotion',);});@@ -153,7 +153,7 @@ test('Should generate concise read-only render command and omit concurrency', ()});expect(command).toContain(- "npx --yes --location=global -p @remotion/[email protected] remotion render 'https://example.com' 'dynamic-length' 'video.mp4'",+ "bunx --yes --location=global -p @remotion/[email protected] remotion render 'https://example.com' 'dynamic-length' 'video.mp4'",);expect(command).toContain("--frames='10-80'");expect(command).toContain('--muted');@@ -176,7 +176,7 @@ test('Should generate still command and omit default flags', () => {});expect(command).toContain(- "npx --yes --location=global -p @remotion/[email protected] remotion still 'https://example.com/still' 'StillComp' 'still.png'",+ "bunx --yes --location=global -p @remotion/[email protected] remotion still 'https://example.com/still' 'StillComp' 'still.png'",);expect(command).toContain("--frame='12'");expect(command).not.toContain("--image-format='png'");