Skip to content

🎥 Make videos programmatically with React

Delete sequence-from-initial-offset.test.tsx

Jonny Burgerb455a2e7568f
diff --git a/packages/core/src/test/sequence-from-initial-offset.test.tsx b/packages/core/src/test/sequence-from-initial-offset.test.tsx
deleted file mode 100644
index 76684cae06..0000000000
--- a/packages/core/src/test/sequence-from-initial-offset.test.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import {cleanup, render} from '@testing-library/react';
-import {afterEach, describe, expect, test} from 'bun:test';
-import React from 'react';
-import {Sequence} from '../Sequence.js';
-import {Freeze} from '../freeze.js';
-import {useVideoConfig} from '../use-video-config.js';
-import {WrapSequenceContext} from './wrap-sequence-context.js';
-
-afterEach(() => {
- cleanup();
-});
-
-const Inner: React.FC = () => {
- const config = useVideoConfig();
-
- return <div>{config.durationInFrames}</div>;
-};
-
-describe('Composition-validation render should NOT throw with valid props', () => {
- test('It should allow undefined as children', () => {
- const {queryByText} = render(
- <WrapSequenceContext>
- <Freeze frame={10000}>
- <Sequence durationInFrames={2424} from={9265}>
- <Inner />
- </Sequence>
- </Freeze>
- </WrapSequenceContext>,
- );
-
- expect(queryByText(/^2424$/)).not.toBe(null);
- });
-});