Skip to content

🎥 Make videos programmatically with React

535 B
Raw Blame
import {test} from 'vitest';
import {renderStillOnWeb} from '../render-still-on-web';
import '../symbol-dispose';
import {opacityInherited} from './fixtures/opacity-inherited';
import {testImage} from './utils';

test('border radius and opacity should not conflict', async () => {
	const blob = await (
		await renderStillOnWeb({
			licenseKey: 'free-license',
			composition: opacityInherited,
			frame: 0,
			inputProps: {},
		})
	).blob({format: 'png'});

	await testImage({blob, testId: 'opacity-inherited', threshold: 0.01});
});