diff --git a/scripts/web.js b/scripts/web.js index 972258edd..5a5b299b3 100644 --- a/scripts/web.js +++ b/scripts/web.js @@ -116,7 +116,7 @@ try { for (let tag of [...new Set(Object.entries(tagDbData).map(t => t[1][0]))] .filter(v => v) .sort((a, b) => a.localeCompare(b))) { - if (capitalize(tag, true) == 'Uncategorized') { + if (capitalize(tag, true) === 'Uncategorized') { uncategorizedOutput += `

` + md diff --git a/test/bindAll/bindAll.test.js b/test/bindAll/bindAll.test.js index ccf1f00a3..3876982f4 100644 --- a/test/bindAll/bindAll.test.js +++ b/test/bindAll/bindAll.test.js @@ -12,7 +12,7 @@ test('Testing bindAll', (t) => { } }; bindAll(view, 'click'); - t.equal(view.click(), 'clicked docs', 'Binds to an object context') + t.equal(view.click(), 'clicked docs', 'Binds to an object context'); //t.deepEqual(bindAll(args..), 'Expected'); //t.equal(bindAll(args..), 'Expected'); //t.false(bindAll(args..), 'Expected'); diff --git a/test/chunk/chunk.test.js b/test/chunk/chunk.test.js index 348d04f49..bd5c5334c 100644 --- a/test/chunk/chunk.test.js +++ b/test/chunk/chunk.test.js @@ -15,8 +15,8 @@ test('Testing chunk', (t) => { t.throws(() => chunk(null), 'chunk(null) throws an error'); let start = new Date().getTime(); - chunk('This is a string', 2) + chunk('This is a string', 2); let end = new Date().getTime(); t.true((end - start) < 2000, 'chunk(This is a string, 2) takes less than 2s to run'); t.end(); -}); \ No newline at end of file +}); diff --git a/test/collectInto/collectInto.test.js b/test/collectInto/collectInto.test.js index 557134336..347ccd34a 100644 --- a/test/collectInto/collectInto.test.js +++ b/test/collectInto/collectInto.test.js @@ -9,7 +9,7 @@ test('Testing collectInto', (t) => { let p1 = Promise.resolve(1); let p2 = Promise.resolve(2); let p3 = new Promise(resolve => setTimeout(resolve, 2000, 3)); - Pall(p1, p2, p3).then(function(val){ t.deepEqual(val, [1,2,3], 'Works with multiple promises')}, function(reason){}); + Pall(p1, p2, p3).then(function(val){ t.deepEqual(val, [1,2,3], 'Works with multiple promises');}, function(reason){}); //t.deepEqual(collectInto(args..), 'Expected'); //t.equal(collectInto(args..), 'Expected'); //t.false(collectInto(args..), 'Expected'); diff --git a/test/isArrayBuffer/isArrayBuffer.js b/test/isArrayBuffer/isArrayBuffer.js index a6ea3fabb..e68cb0141 100644 --- a/test/isArrayBuffer/isArrayBuffer.js +++ b/test/isArrayBuffer/isArrayBuffer.js @@ -1,2 +1,2 @@ const isArrayBuffer = val => val instanceof ArrayBuffer; - module.exports = isArrayBuffer \ No newline at end of file + module.exports = isArrayBuffer; diff --git a/test/isRegExp/isRegExp.js b/test/isRegExp/isRegExp.js index dca645dfe..37bf3097c 100644 --- a/test/isRegExp/isRegExp.js +++ b/test/isRegExp/isRegExp.js @@ -1,2 +1,2 @@ const isRegExp = val => val instanceof RegExp; - module.exports = isRegExp \ No newline at end of file + module.exports = isRegExp; diff --git a/test/isSet/isSet.js b/test/isSet/isSet.js index 679d9add6..7fa962361 100644 --- a/test/isSet/isSet.js +++ b/test/isSet/isSet.js @@ -1,2 +1,2 @@ const isSet = val => val instanceof Set; - module.exports = isSet \ No newline at end of file + module.exports = isSet; diff --git a/test/toKebabCase/toKebabCase.test.js b/test/toKebabCase/toKebabCase.test.js index e2dfd8891..ab360940d 100644 --- a/test/toKebabCase/toKebabCase.test.js +++ b/test/toKebabCase/toKebabCase.test.js @@ -15,7 +15,7 @@ test('Testing toKebabCase', (t) => { t.throws(() => toKebabCase(123), 'toKebabCase(123) throws an error'); let start = new Date().getTime(); - toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') + toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML'); let end = new Date().getTime(); t.true((end - start) < 2000, 'toKebabCase(IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML) takes less than 2s to run'); t.end();