6 lines
177 B
JavaScript
6 lines
177 B
JavaScript
describe('Date', function () {
|
|
it('when invalid, dates should toString to "Invalid Date"', function () {
|
|
expect(String(new Date(NaN))).to.equal('Invalid Date');
|
|
});
|
|
});
|