1 | "use strict";
|
2 |
|
3 | function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
4 |
|
5 | var test = require('tape');
|
6 |
|
7 | var publicApi = require('.');
|
8 |
|
9 | test('📦 @mintlab/kitchen-sink', function (assert) {
|
10 | assert.equal(_typeof(publicApi.asArray), 'function', 'has a `asArray` method');
|
11 | assert.equal(_typeof(publicApi.bind), 'function', 'has a `bind` method');
|
12 | assert.equal(_typeof(publicApi.callOrNothingAtAll), 'function', 'has a `callOrNothingAtAll` method');
|
13 | assert.equal(_typeof(publicApi.buildParamString), 'function', 'has an `buildParamString` method');
|
14 | assert.equal(_typeof(publicApi.buildUrl), 'function', 'has an `buildUrl` method');
|
15 | assert.equal(_typeof(publicApi.cloneWithout), 'function', 'has a `cloneWithout` method');
|
16 | assert.equal(_typeof(publicApi.dictionary), 'function', 'has a `dictionary` method');
|
17 | assert.equal(_typeof(publicApi.expose), 'function', 'has an `expose` method');
|
18 | assert.equal(_typeof(publicApi.extract), 'function', 'has an `extract` method');
|
19 | assert.equal(_typeof(publicApi.isObject), 'function', 'has an `isObject` method');
|
20 | assert.equal(_typeof(publicApi.isPopulatedArray), 'function', 'has an `isPopulatedArray` method');
|
21 | assert.equal(_typeof(publicApi.filterProperties), 'function', 'has an `filterProperties` method');
|
22 | assert.equal(_typeof(publicApi.filterPropertiesOnValues), 'function', 'has an `filterPropertiesOnValues` method');
|
23 | assert.equal(_typeof(publicApi.get), 'function', 'has a `get` method');
|
24 | assert.equal(_typeof(publicApi.getObject), 'function', 'has a `getObject` method');
|
25 | assert.equal(_typeof(publicApi.getSegment), 'function', 'has an `getSegment` method');
|
26 | assert.equal(_typeof(publicApi.passOrGet), 'function', 'has a `passOrGet` method');
|
27 | assert.equal(_typeof(publicApi.objectifyParams), 'function', 'has an `objectifyParams` method');
|
28 | assert.equal(_typeof(publicApi.performGetOnProperties), 'function', 'has a `performGetOnProperties` method');
|
29 | assert.equal(_typeof(publicApi.purge), 'function', 'has a `purge` method');
|
30 | assert.equal(_typeof(publicApi.reduceMap), 'function', 'has a `reduceMap` method');
|
31 | assert.equal(_typeof(publicApi.removeFromArray), 'function', 'has a `removeFromArray` method');
|
32 | assert.equal(_typeof(publicApi.toggleItem), 'function', 'has a `toggleItem` method');
|
33 | assert.equal(_typeof(publicApi.unique), 'function', 'has a `unique` method');
|
34 | assert.end();
|
35 | }); |
\ | No newline at end of file |