Changeset 79a0317 for imaps-frontend/node_modules/is-date-object/test
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/is-date-object/test/index.js
r0c6b92a r79a0317 6 6 7 7 test('not Dates', function (t) { 8 // @ts-expect-error 8 9 t.notOk(isDate(), 'undefined is not Date'); 9 10 t.notOk(isDate(null), 'null is not Date'); … … 22 23 test('@@toStringTag', { skip: !hasToStringTag }, function (t) { 23 24 var realDate = new Date(); 25 /** @type {{ toString(): unknown; valueOf(): unknown; [Symbol.toStringTag]?: string; }} */ 24 26 var fakeDate = { 25 27 toString: function () { return String(realDate); },
Note:
See TracChangeset
for help on using the changeset viewer.