Sha256: 12b49bc538c194503ef6cdec84b7a170c39f6786df4701024c09e2c579c42e24

Contents?: true

Size: 223 Bytes

Versions: 47

Compression:

Stored size: 223 Bytes

Contents

"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");
};

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
govuk_publishing_components-16.20.0 node_modules/es5-ext/test/date/#/copy.js
govuk_publishing_components-16.19.0 node_modules/es5-ext/test/date/#/copy.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/test/date/#/copy.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/test/date/#/copy.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/test/date/#/copy.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/test/date/#/copy.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/test/date/#/copy.js