Skip to content

🎥 Make videos programmatically with React

Update stills.test.ts

Jonny Burgerfcf31ab159be
diff --git a/packages/example/src/test/stills.test.ts b/packages/example/src/test/stills.test.ts
index c7ec56a894..b00e89859d 100644
--- a/packages/example/src/test/stills.test.ts
+++ b/packages/example/src/test/stills.test.ts
@@ -4,7 +4,6 @@ import {
RenderInternals,
renderStill,
} from '@remotion/renderer';
-import {makeDownloadMap} from '@remotion/renderer/dist/assets/download-map';
import {existsSync, unlinkSync} from 'fs';
import {tmpdir} from 'os';
import path from 'path';
@@ -35,7 +34,7 @@ test('Can render a still using Node.JS APIs', async () => {
},
ffmpegExecutable: null,
ffprobeExecutable: null,
- downloadMap: makeDownloadMap(),
+ downloadMap: RenderInternals.makeDownloadMap(),
});
const serveUrl = `http://localhost:${port}`;