mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
11 lines
223 B
JavaScript
11 lines
223 B
JavaScript
"use strict";
|
|
|
|
module.exports = function (t, a) {
|
|
var o = new Date(), o2;
|
|
|
|
o2 = t.call(o);
|
|
a.not(o, o2, "Different objects");
|
|
a.ok(o2 instanceof Date, "Instance of Date");
|
|
a(o.getTime(), o2.getTime(), "Same time");
|
|
};
|