Const
Asserts that the subject is defined (not undefined).
expect(null, 'to be defined'); // passesexpect(undefined, 'to be defined'); // fails Copy
expect(null, 'to be defined'); // passesexpect(undefined, 'to be defined'); // fails
Asserts that the subject is defined (not undefined).