mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-15 06:01:04 +00:00
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');
|
|
});
|
|
});
|