Sha256: 10f68046ce49e873f1c612284c5f99e415199f6df1c55ed9c56e03279444739a

Contents?: true

Size: 395 Bytes

Versions: 53

Compression:

Stored size: 395 Bytes

Contents

'use strict';

var Set     = require('../../polyfill')
  , toArray = require('es5-ext/array/to-array');

module.exports = function (T, a) {
	var set = new Set(['raz', 'dwa']);

	a.deep(toArray(new T(set)), ['raz', 'dwa'], "Default");
	a.deep(toArray(new T(set, 'key+value')), [['raz', 'raz'], ['dwa', 'dwa']],
		"Key & Value");
	a.deep(toArray(new T(set, 'value')), ['raz', 'dwa'], "Other");
};

Version data entries

53 entries across 53 versions & 7 rubygems

Version Path
govuk_publishing_components-16.19.0 node_modules/es6-set/test/lib/iterator.js
govuk_publishing_components-16.18.0 node_modules/es6-set/test/lib/iterator.js
govuk_publishing_components-16.17.0 node_modules/es6-set/test/lib/iterator.js
optimacms-0.4.3 spec/dummy/node_modules/es6-set/test/lib/iterator.js
optimacms-0.4.2 spec/dummy/node_modules/es6-set/test/lib/iterator.js
cortex-0.1.3 spec/dummy/node_modules/es6-set/test/lib/iterator.js
guard-sass-lint-0.1.2 node_modules/es6-set/test/lib/iterator.js
guard-sass-lint-0.1.1 node_modules/es6-set/test/lib/iterator.js
lanes-0.8.0 node_modules/es6-set/test/lib/iterator.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/es6-set/test/lib/iterator.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/es6-set/test/lib/iterator.js
eslint_node_modules-1.6.0.1 vendor/node_modules/eslint/node_modules/escope/node_modules/es6-map/node_modules/es6-set/test/lib/iterator.js
eslint_node_modules-1.6.0 vendor/node_modules/eslint/node_modules/escope/node_modules/es6-map/node_modules/es6-set/test/lib/iterator.js