🎥 Make videos programmatically with React
add failing test
Jonny Burger53f30f8077da
diff --git a/packages/paths/src/test/get-point-at-length.test.ts b/packages/paths/src/test/get-point-at-length.test.tsindex 11a3f3723d..0e4c7043f6 100644--- a/packages/paths/src/test/get-point-at-length.test.ts+++ b/packages/paths/src/test/get-point-at-length.test.ts@@ -6,3 +6,16 @@ test('Should be able to get parts of a path', () => {expect(parts).toEqual({x: 50, y: 0});});++test.only('Another more complex point', () => {+ const path = `M2 129++ C48.6667 84.6666 186 2+ 324 1.99997C476.135 1.99994 616+ 89.9999 663 129`;++ const point = getPointAtLength(path, 721.1239854719418 * 0.51);+ expect(point.x).not.toBe(663);+ expect(point.y).not.toBe(129);+ console.log(point);+});