Const
Asserts that the subject is exactly the boolean value true.
expect(true, 'to be true'); // passesexpect(false, 'to be true'); // failsexpect(1, 'to be true'); // fails Copy
expect(true, 'to be true'); // passesexpect(false, 'to be true'); // failsexpect(1, 'to be true'); // fails
Asserts that the subject is exactly the boolean value true.