diff --git a/tag_database b/tag_database index 84a3b4dfa..c0b80e5cb 100644 --- a/tag_database +++ b/tag_database @@ -33,7 +33,6 @@ difference:array,math differenceWith:array,function digitize:math,array distance:math -distinctValuesOfArray:array dropElements:array,function dropRight:array elementIsVisibleInViewport:browser @@ -203,6 +202,7 @@ truncateString:string truthCheckCollection:object,logic,array unescapeHTML:string,browser union:array,math +uniqueElements:array untildify:node,string URLJoin:string,utility,regexp UUIDGeneratorBrowser:browser,utility,random diff --git a/test/distinctValuesOfArray/distinctValuesOfArray.js b/test/distinctValuesOfArray/distinctValuesOfArray.js deleted file mode 100644 index d5b18bd39..000000000 --- a/test/distinctValuesOfArray/distinctValuesOfArray.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = distinctValuesOfArray = arr => [...new Set(arr)]; \ No newline at end of file diff --git a/test/distinctValuesOfArray/distinctValuesOfArray.test.js b/test/distinctValuesOfArray/distinctValuesOfArray.test.js deleted file mode 100644 index 43da61c80..000000000 --- a/test/distinctValuesOfArray/distinctValuesOfArray.test.js +++ /dev/null @@ -1,14 +0,0 @@ -const test = require('tape'); -const distinctValuesOfArray = require('./distinctValuesOfArray.js'); - -test('Testing distinctValuesOfArray', (t) => { - //For more information on all the methods supported by tape - //Please go to https://github.com/substack/tape - t.true(typeof distinctValuesOfArray === 'function', 'distinctValuesOfArray is a Function'); - t.deepEqual(distinctValuesOfArray([1, 2, 2, 3, 4, 4, 5]), [1,2,3,4,5], "Returns all the distinct values of an array"); - //t.deepEqual(distinctValuesOfArray(args..), 'Expected'); - //t.equal(distinctValuesOfArray(args..), 'Expected'); - //t.false(distinctValuesOfArray(args..), 'Expected'); - //t.throws(distinctValuesOfArray(args..), 'Expected'); - t.end(); -}); \ No newline at end of file