Sha256: c1ace2ddfa29db6427b7f26fbf1730ec56c1fe9a22d5fe07b196dfbe410234ca

Contents?: true

Size: 267 Bytes

Versions: 29

Compression:

Stored size: 267 Bytes

Contents

'use strict';

module.exports = function (t, a) {
	a.deep(t({ foo: 'bar' }), ['foo'], "Object");
	a.deep(t('raz'), ['0', '1', '2'], "Primitive");
	a.throws(function () { t(); }, TypeError, "Undefined");
	a.throws(function () { t(null); }, TypeError, "Undefined");
};

Version data entries

29 entries across 19 versions & 7 rubygems

Version Path
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/test/object/keys/shim.js