Merge pull request #9425 from Sarsaw/master

precision is optional in toBeCloseTo
This commit is contained in:
Mohamed Hegazy
2016-06-21 15:12:11 -07:00
committed by GitHub
+1 -1
View File
@@ -301,7 +301,7 @@ declare namespace jasmine {
toContain(expected: any, expectationFailOutput?: any): boolean;
toBeLessThan(expected: number, expectationFailOutput?: any): boolean;
toBeGreaterThan(expected: number, expectationFailOutput?: any): boolean;
toBeCloseTo(expected: number, precision: any, expectationFailOutput?: any): boolean;
toBeCloseTo(expected: number, precision?: any, expectationFailOutput?: any): boolean;
toThrow(expected?: any): boolean;
toThrowError(message?: string | RegExp): boolean;
toThrowError(expected?: new (...args: any[]) => Error, message?: string | RegExp): boolean;