🎥 Make videos programmatically with React
import {test} from 'vitest';
import {renderStillOnWeb} from '../render-still-on-web';
import '../symbol-dispose';
import {svgDataUri} from './fixtures/svg-data-uri';
import {testImage} from './utils';
test('should render an SVG data URI', async () => {
const blob = await (
await renderStillOnWeb({
licenseKey: 'free-license',
composition: svgDataUri,
frame: 0,
inputProps: {},
})
).blob({format: 'png'});
await testImage({blob, testId: 'svg-data-uri'});
});