mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(core): fixing test from bad rebase
This commit is contained in:
@@ -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([]);
|
||||
})
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user