Skip to content

🎥 Make videos programmatically with React

fix tests

Jonny Burger6ab56a4474be
diff --git a/packages/core/src/test/audio.test.tsx b/packages/core/src/test/audio.test.tsx
index 6fab28a203..ad441dcea0 100644
--- a/packages/core/src/test/audio.test.tsx
+++ b/packages/core/src/test/audio.test.tsx
@@ -28,7 +28,7 @@ test('It should throw if endAt is not a number', () => {
expectToThrow(
//@ts-expect-error
() => render(<Audio endAt={'hey'} />),
- /type of endAt prop is a number, instead got type string./
+ /type of endAt prop must be a number, instead got type string./
);
});
@@ -36,7 +36,7 @@ test('It should throw if startAt is not a number', () => {
expectToThrow(
//@ts-expect-error
() => render(<Audio startAt={'hey'} />),
- /type of startAt prop is a number, instead got type string./
+ /type of startAt prop must be a number, instead got type string./
);
});