Skip to content

🎥 Make videos programmatically with React

482 B
Raw Blame
import {test} from 'vitest';
import {renderStillOnWeb} from '../render-still-on-web';
import '../symbol-dispose';
import {displayNone} from './fixtures/display-none';
import {testImage} from './utils';

test('should not render the element', async () => {
	const blob = await (
		await renderStillOnWeb({
			licenseKey: 'free-license',
			composition: displayNone,
			frame: 0,
			inputProps: {},
		})
	).blob({format: 'png'});

	await testImage({blob, testId: 'display-none'});
});