From 1af1e2a14fb349539d3f950c2658e2e43f00e7b6 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Thu, 7 Nov 2019 15:32:39 -0700 Subject: [PATCH] chore(core): fixing test from bad rebase --- core/src/utils/animation/test/animation.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/utils/animation/test/animation.spec.ts b/core/src/utils/animation/test/animation.spec.ts index e6fd267e67..21c885af55 100644 --- a/core/src/utils/animation/test/animation.spec.ts +++ b/core/src/utils/animation/test/animation.spec.ts @@ -388,14 +388,14 @@ describe('cubic-bezier conversion', () => { it('cubic-bezier(0.32, 0.72, 0, 1) (with out of bounds progression)', () => { const equation = [ - new Point(0, 0), - new Point(0.05, 0.2), - new Point(.14, 1.72), - new Point(1, 1) + [0, 0], + [0.05, 0.2], + [.14, 1.72], + [1, 1] ]; - expect(getTimeGivenProgression(...equation, 1.32)).toBeNaN(); - expect(getTimeGivenProgression(...equation, -0.32)).toBeNaN(); + expect(getTimeGivenProgression(...equation, 1.32)).toEqual([]); + expect(getTimeGivenProgression(...equation, -0.32)).toEqual([]); }) }) });