Skip to content

🎥 Make videos programmatically with React

Update not-all-props-in-media-tags.test.ts

Jonny Burger33461658f181
diff --git a/packages/core/src/test/not-all-props-in-media-tags.test.ts b/packages/core/src/test/not-all-props-in-media-tags.test.ts
index e05f0bd9c6..754c9afd36 100644
--- a/packages/core/src/test/not-all-props-in-media-tags.test.ts
+++ b/packages/core/src/test/not-all-props-in-media-tags.test.ts
@@ -3,26 +3,26 @@ import path from 'node:path';
import {expect, test} from 'vitest';
// Test for https://github.com/remotion-dev/remotion/issues/1243
-test('Should not have disableRemotePlayback props in the <VideoForDevelopment> component type definition', () => {
+test('Should not have disableRemotePlayback props in the <VideoForPreview> component type definition', () => {
const file = path.resolve(
process.cwd(),
'dist',
'esm',
'video',
- 'VideoForDevelopment.d.ts',
+ 'VideoForPreview.d.ts',
);
const read = fs.readFileSync(file, 'utf-8');
expect(read).not.toContain('disableRemotePlayback');
expect(read).toContain('volume-prop');
});
-test('Should not have disableRemotePlayback props in the <VideoForRendering> component type definition', () => {
+test('Should not have disableRemotePlayback props in the <VideoForPreview> component type definition', () => {
const file = path.resolve(
process.cwd(),
'dist',
'esm',
'video',
- 'VideoForRendering.d.ts',
+ 'VideoForPreview.d.ts',
);
const read = fs.readFileSync(file, 'utf-8');
expect(read).not.toContain('disableRemotePlayback');