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