Skip to content

🎥 Make videos programmatically with React

fix player tests

Jonny Burger17da0c145943
diff --git a/packages/player/src/test/validate-prop.test.tsx b/packages/player/src/test/validate-prop.test.tsx
index 22797a281a..a5234f3a22 100644
--- a/packages/player/src/test/validate-prop.test.tsx
+++ b/packages/player/src/test/validate-prop.test.tsx
@@ -99,7 +99,7 @@ test('No durationInFrames should give errors', () => {
);
} catch (e) {
expect(e.message).toMatch(
- /The "durationInFrames" of a composition must be a number, but you passed a value of type undefined/
+ /The "durationInFrames" prop of a <Player \/> component must be a number, but you passed a value of type undefined/
);
}
});