Debian Codegraph @

test/date.js

raw
1 describe('Date', function () {
2 it('when invalid, dates should toString to "Invalid Date"', function () {
3 expect(String(new Date(NaN))).to.equal('Invalid Date');
4 });
5 });