]> git.r.bdr.sh - rbdr/dotfiles/blob
767c5e16a4d053742bbba36f1bbfbb160757ba08
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 var o = new Date(), o2;
5
6 o2 = t.call(o);
7 a.not(o, o2, "Different objects");
8 a.ok(o2 instanceof Date, "Instance of Date");
9 a(o.getTime(), o2.getTime(), "Same time");
10 };