Skip to content

🎥 Make videos programmatically with React

fix test

Jonny Burgeraaa9779cfb8d
diff --git a/packages/player/src/test/validate-prop.test.tsx b/packages/player/src/test/validate-prop.test.tsx
index 2c5bc51ff4..00d261718e 100644
--- a/packages/player/src/test/validate-prop.test.tsx
+++ b/packages/player/src/test/validate-prop.test.tsx
@@ -106,7 +106,7 @@ test('No durationInFrames should give errors', () => {
);
} catch (e) {
expect((e as Error).message).toMatch(
- /The "durationInFrames" prop of the <Player\/> component must be a number, but you passed a value of type undefined/
+ /durationInFrames` must be a number, but is undefined/
);
}
});