Const
Asserts that the subject is NaN (Not a Number).
expect(NaN, 'to be NaN'); // passesexpect(42, 'to be NaN'); // failsexpect('not a number', 'to be NaN'); // fails Copy
expect(NaN, 'to be NaN'); // passesexpect(42, 'to be NaN'); // failsexpect('not a number', 'to be NaN'); // fails
Asserts that the subject is NaN (Not a Number).