diff --git a/platform/commonUI/formats/test/UTCTimeFormatSpec.js b/platform/commonUI/formats/test/UTCTimeFormatSpec.js index 57f84fed87..d55a8a9507 100644 --- a/platform/commonUI/formats/test/UTCTimeFormatSpec.js +++ b/platform/commonUI/formats/test/UTCTimeFormatSpec.js @@ -41,8 +41,8 @@ define( }); it("validates time inputs", function () { - expect(format.validate("1977-05-25 11:21:22")).toBeTruthy(); - expect(format.validate("garbage text")).toBeFalsy(); + expect(format.validate("1977-05-25 11:21:22")).toBe(true); + expect(format.validate("garbage text")).toBe(false); }); it("parses valid input", function () {