Skip to content

🎥 Make videos programmatically with React

Update loop-validation.test.tsx

Jonny Burgeraf40e4a79884
diff --git a/packages/core/src/test/loop-validation.test.tsx b/packages/core/src/test/loop-validation.test.tsx
index 18c6c4630c..3099cd7d53 100644
--- a/packages/core/src/test/loop-validation.test.tsx
+++ b/packages/core/src/test/loop-validation.test.tsx
@@ -47,7 +47,7 @@ describe('Loop-validation render should throw with invalid props', () => {
<Loop durationInFrames={'1'}>hi</Loop>
</Wrapper>
),
- /The "durationInFrames" prop of the \<Loop \/\> component must be a number, but you passed a value of type string/
+ /The "durationInFrames" prop of the <Loop \/> component must be a number, but you passed a value of type string/
);
});
test('It should throw if Loop has non-integer durationInFrames', () => {
@@ -58,7 +58,7 @@ describe('Loop-validation render should throw with invalid props', () => {
<Loop durationInFrames={1.1}>hi</Loop>
</Wrapper>
),
- /The \"durationInFrames\" prop of the \<Loop \/\> component must be an integer, but got 1.1./
+ /The "durationInFrames" prop of the <Loop \/> component must be an integer, but got 1.1./
);
});
test('It should throw if Loop has a negative duration', () => {
@@ -69,7 +69,7 @@ describe('Loop-validation render should throw with invalid props', () => {
<Loop durationInFrames={-1}>hi</Loop>
</Wrapper>
),
- /The \"durationInFrames\" prop of the \<Loop \/> component must be positive, but got -1./
+ /The "durationInFrames" prop of the <Loop \/> component must be positive, but got -1./
);
});
});