Skip to content

🎥 Make videos programmatically with React

fix tests

Jonny Burgerb673897cd946
diff --git a/packages/renderer/src/test/map-localhost-to-file.test.ts b/packages/renderer/src/test/map-localhost-to-file.test.ts
index 1a8fb17614..cf481ba52d 100644
--- a/packages/renderer/src/test/map-localhost-to-file.test.ts
+++ b/packages/renderer/src/test/map-localhost-to-file.test.ts
@@ -1,8 +1,8 @@
import {downloadAndMapAssetsToFileUrl} from '../assets/download-and-map-assets-to-file';
-test('Should correctly map a localhost URL to an asset', () => {
+test('Should correctly map a localhost URL to an asset', async () => {
expect(
- downloadAndMapAssetsToFileUrl({
+ await downloadAndMapAssetsToFileUrl({
localhostAsset: {
type: 'video',
src: 'http://localhost:3000/5f25ba62771d1f8195f858ec5ff8e8d6.mp4',