Skip to content

🎥 Make videos programmatically with React

Update packages/core/src/test/interpolateColors.test.ts

Jonny Burger5a78dd4dfcd4
diff --git a/packages/core/src/test/interpolateColors.test.ts b/packages/core/src/test/interpolateColors.test.ts
index 4c0471b968..9215028b83 100644
--- a/packages/core/src/test/interpolateColors.test.ts
+++ b/packages/core/src/test/interpolateColors.test.ts
@@ -26,3 +26,9 @@ test('Basic interpolate Colors', () => {
'rgba(250, 191, 223, 1)'
);
});
+
+test('Color shorthands', () => {
+ expect(interpolateColors(1, [0, 1], ['#fad', '#fabfdf'])).toBe(
+ 'rgba(250, 191, 223, 1)'
+ );
+});