Const
Assertion for testing if a number is less than or equal to another number.
expect(3, 'to be less than or equal to', 5); // passesexpect(5, 'to be at most', 5); // passesexpect(7, 'to be at most', 5); // fails Copy
expect(3, 'to be less than or equal to', 5); // passesexpect(5, 'to be at most', 5); // passesexpect(7, 'to be at most', 5); // fails
Assertion for testing if a number is less than or equal to another number.