Closed Deskbot closed 3 years ago
Version 1.1.0
Test Code:
@Test() test() { expect.toBeEqual(NaN, 0); }
Expected outcome:
x test - Expected NaN to equal 0.
Actual outcome:
x test - Expected null to equal 0.
Thanks for reporting! This should be an easy fix. I reckon there is a JSON.stringify somewhere, and JSON.stringify(NaN) === 'null'. I'll fix this soon!
JSON.stringify
JSON.stringify(NaN) === 'null'
Version 1.1.0
Test Code:
Expected outcome:
Actual outcome: