🎥 Make videos programmatically with React
Update make-polygon.test.ts
Jonny Burgerb7305d41aacf
diff --git a/packages/shapes/src/test/make-polygon.test.ts b/packages/shapes/src/test/make-polygon.test.tsindex f9cdb1f6f4..8c49bdd9cd 100644--- a/packages/shapes/src/test/make-polygon.test.ts+++ b/packages/shapes/src/test/make-polygon.test.ts@@ -8,7 +8,7 @@ test('Should be able to make a triangle path', () => {});expect(polygonPath).toEqual({- path: 'M 86.60254037844385 0 L 173.20508075688772 150 L 0 150.00000000000003 L 86.60254037844385 0',+ path: 'M 100 0 L 186.60254037844388 150 L 13.397459621556152 150.00000000000003 L 100 0',width: 200,height: 200,transformOrigin: '100 100',@@ -28,7 +28,7 @@ test('Should be able to make a pentagon path', () => {});expect(polygonPath).toEqual({- path: 'M 95.10565162951536 0 L 190.21130325903073 69.09830056250526 L 153.8841768587627 180.90169943749476 L 36.327126400268064 180.90169943749476 L 0 69.09830056250527 L 95.10565162951536 0',+ path: 'M 100 0 L 195.10565162951536 69.09830056250526 L 158.77852522924732 180.90169943749476 L 41.2214747707527 180.90169943749476 L 4.894348370484636 69.09830056250527 L 100 0',width: 200,height: 200,transformOrigin: '100 100',@@ -50,7 +50,7 @@ test('Should be able to make a hexagon path', () => {});expect(polygonPath).toEqual({- path: 'M 86.6025403784439 0 L 173.20508075688775 50 L 173.20508075688778 150 L 86.6025403784439 200 L 5.684341886080802e-14 150.00000000000003 L 0 50.000000000000064 L 86.6025403784439 0',+ path: 'M 100 0 L 186.60254037844385 50 L 186.60254037844388 150 L 100 200 L 13.397459621556152 150.00000000000003 L 13.397459621556095 50.000000000000064 L 100 0',width: 200,height: 200,transformOrigin: '100 100',