Skip to content

Commit cf8226c

Browse files
update math unit test
1 parent ea32a07 commit cf8226c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/base/lib/api/services/math.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ describe("Math unit tests", () => {
326326

327327
it("should compute ease out sine", () => {
328328
const result = math.ease({ x: 0.3, min: 0, max: 1, ease: Inputs.Math.easeEnum.easeOutSine });
329-
expect(result).toEqual(0.4539904997395468);
329+
expect(result).toBeCloseTo(0.4539904997395468);
330330
});
331331

332332
it("should compute ease out sine", () => {

0 commit comments

Comments
 (0)