Asserts that a value is a number
and is greater than the expected value.
Symbol
Matchers.toBeGreaterThan
@param expected
the expected number
expect(1).toBeGreaterThan(0);
expect(3.14).toBeGreaterThan(3);
expect(9).toBeGreaterThan(9); // fail
Symbol
Asserts that a value is a number
and is greater than the expected value.
the expected number
expect(1).toBeGreaterThan(0);
expect(3.14).toBeGreaterThan(3);
expect(9).toBeGreaterThan(9); // fail