Sha256: a8c0534ccd189fd8a113a081d6f921f75320f4db4e77be7a466ce4281d0676d6

Contents?: true

Size: 696 Bytes

Versions: 50

Compression:

Stored size: 696 Bytes

Contents

'use strict';

var ES = require('../');
var test = require('tape');

var ESkeys = Object.keys(ES).sort();
var ES6keys = Object.keys(ES.ES6).sort();

test('exposed properties', function (t) {
	t.deepEqual(ESkeys, ES6keys.concat(['ES2018', 'ES2017', 'ES7', 'ES2016', 'ES6', 'ES2015', 'ES5']).sort(), 'main ES object keys match ES6 keys');
	t.end();
});

test('methods match', function (t) {
	ES6keys.forEach(function (key) {
		t.equal(ES.ES6[key], ES[key], 'method ' + key + ' on main ES object is ES6 method');
	});
	t.end();
});

require('./GetIntrinsic');

require('./es5');
require('./es6');
require('./es2015');
require('./es7');
require('./es2016');
require('./es2017');
require('./es2018');

Version data entries

50 entries across 50 versions & 3 rubygems

Version Path
jester-data-8.0.0 node_modules/es-abstract/test/index.js
ezii-os-5.2.1 node_modules/es-abstract/test/index.js
ezii-os-2.0.1 node_modules/es-abstract/test/index.js
ezii-os-1.1.0 node_modules/es-abstract/test/index.js
ezii-os-1.0.0 node_modules/es-abstract/test/index.js
ezii-os-0.0.0.1.0 node_modules/es-abstract/test/index.js
ezii-os-0.0.0.0.1 node_modules/es-abstract/test/index.js
govuk_publishing_components-18.0.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.21.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.20.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.19.1 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.19.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.18.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.17.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.16.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.15.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.14.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.13.0 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.12.2 node_modules/es-abstract/test/index.js
govuk_publishing_components-17.12.1 node_modules/es-abstract/test/index.js