Skip to content

🎥 Make videos programmatically with React

fix test

Jonny Burger1a0bce6134ec
diff --git a/packages/core/src/series/index.tsx b/packages/core/src/series/index.tsx
index 34fa8ccae3..86ecab2df8 100644
--- a/packages/core/src/series/index.tsx
+++ b/packages/core/src/series/index.tsx
@@ -48,7 +48,7 @@ const Series: FC & {
if (!castedChild || !castedChild.props.children) {
throw new TypeError(
- `A <Series.Sequence /> component (${debugInfo}) was detected to not have any children. Delete it to fix this error.`
+ `A <Series.Sequence /> component (${debugInfo}) was detected to not have any children. Delete it to fix this error.`
);
}
diff --git a/packages/core/src/test/series.test.tsx b/packages/core/src/test/series.test.tsx
index 2515008214..13c9af9e36 100644
--- a/packages/core/src/test/series.test.tsx
+++ b/packages/core/src/test/series.test.tsx
@@ -168,7 +168,7 @@ test('Handle empty Series.Sequence', () => {
<Series.Sequence durationInFrames={10} />
</Series>
),
- /A <Series.Sequence \/> component \(index = 1, duration = 10\) doesn't have any children\./
+ /A <Series.Sequence \/> component \(index = 1, duration = 10\) was detected to not have any children\. Delete it to fix this error\./
);
});