{"action":"created","issue":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/526","repository_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code","labels_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/526/comments","events_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/526/events","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/issues/526","id":287529487,"number":526,"title":"Test ~ Log","user":{"login":"fejes713","id":25749162,"avatar_url":"https://avatars2.githubusercontent.com/u/25749162?v=4","gravatar_id":"","url":"https://api.github.com/users/fejes713","html_url":"https://github.com/fejes713","followers_url":"https://api.github.com/users/fejes713/followers","following_url":"https://api.github.com/users/fejes713/following{/other_user}","gists_url":"https://api.github.com/users/fejes713/gists{/gist_id}","starred_url":"https://api.github.com/users/fejes713/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejes713/subscriptions","organizations_url":"https://api.github.com/users/fejes713/orgs","repos_url":"https://api.github.com/users/fejes713/repos","events_url":"https://api.github.com/users/fejes713/events{/privacy}","received_events_url":"https://api.github.com/users/fejes713/received_events","type":"User","site_admin":false},"labels":[{"id":764709657,"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true},{"id":779011655,"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/labels/opinions%20needed","name":"opinions needed","color":"f458ab","default":false},{"id":787020768,"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/labels/test%20needed","name":"test needed","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-01-10T18:15:16Z","updated_at":"2018-02-16T12:02:53Z","closed_at":"2018-02-16T12:02:53Z","author_association":"COLLABORATOR","body":"Similarly to the #100, we can keep track of snippets that are missing test cases.\r\n## Here is the list of snippets that need their test cases implemented:\r\n*Be sure to tick the ones that you or someone else solved. If you don't have access to edit this file be sure to let us know in the comments about the changes*\r\n- [x] anagrams\r\n- [x] arrayToHtmlList\r\n- [x] ary\r\n- [x] atob\r\n- [x] attempt\r\n- [x] average\r\n- [x] averageBy\r\n- [x] bind\r\n- [x] bindAll\r\n- [x] bindKey\r\n- [x] bottomVisible\r\n- [x] btoa\r\n- [x] byteSize\r\n- [x] call\r\n- [x] capitalize\r\n- [x] capitalizeEveryWord\r\n- [x] castArray\r\n- [x] chainAsync\r\n- [x] chunk\r\n- [x] clampNumber\r\n- [x] cloneRegExp\r\n- [x] coalesce\r\n- [x] coalesceFactory\r\n- [x] collectInto\r\n- [x] colorize\r\n- [x] compact\r\n- [x] compose\r\n- [x] composeRight\r\n- [x] copyToClipboard\r\n- [x] countBy\r\n- [x] countOccurrences\r\n- [x] createElement\r\n- [x] createEventHub\r\n- [x] currentURL\r\n- [x] curry\r\n- [x] debounce\r\n- [x] decapitalize\r\n- [x] deepClone\r\n- [x] deepFlatten\r\n- [x] defaults\r\n- [x] defer\r\n- [x] delay\r\n- [x] detectDeviceType\r\n- [x] difference\r\n- [x] differenceBy\r\n- [x] differenceWith\r\n- [x] digitize\r\n- [x] distance\r\n- [x] drop\r\n- [x] dropRight\r\n- [x] dropRightWhile\r\n- [x] dropWhile\r\n- [x] elementIsVisibleInViewport\r\n- [x] elo\r\n- [x] equals\r\n- [x] escapeHTML\r\n- [x] escapeRegExp\r\n- [x] everyNth\r\n- [x] extendHex\r\n- [x] factorial\r\n- [x] fibonacci\r\n- [x] filterNonUnique\r\n- [x] findKey\r\n- [x] findLast\r\n- [x] findLastIndex\r\n- [x] findLastKey\r\n- [x] flatten\r\n- [x] flip\r\n- [x] forEachRight\r\n- [x] formatDuration\r\n- [x] forOwn\r\n- [x] forOwnRight\r\n- [x] fromCamelCase\r\n- [x] functionName\r\n- [x] functions\r\n- [x] gcd\r\n- [x] geometricProgression\r\n- [x] get\r\n- [x] getDaysDiffBetweenDates\r\n- [x] getScrollPosition\r\n- [x] getStyle\r\n- [x] getType\r\n- [x] getURLParameters\r\n- [x] groupBy\r\n- [x] hammingDistance\r\n- [x] hasClass\r\n- [x] hasFlags\r\n- [x] hashBrowser\r\n- [x] hashNode\r\n- [x] head\r\n- [x] hexToRGB\r\n- [x] hide\r\n- [x] httpGet\r\n- [x] httpPost\r\n- [x] httpsRedirect\r\n- [x] indexOfAll\r\n- [x] initial\r\n- [x] initialize2DArray\r\n- [x] initializeArrayWithRange\r\n- [x] initializeArrayWithRangeRight\r\n- [x] initializeArrayWithValues\r\n- [x] inRange\r\n- [x] intersection\r\n- [x] intersectionBy\r\n- [x] intersectionWith\r\n- [x] invertKeyValues\r\n- [x] is\r\n- [x] isAbsoluteURL\r\n- [x] isArrayLike\r\n- [x] isBoolean\r\n- [x] isDivisible\r\n- [x] isEmpty\r\n- [x] isEven\r\n- [x] isFunction\r\n- [x] isLowerCase\r\n- [x] isNil\r\n- [x] isNull\r\n- [x] isNumber\r\n- [x] isObject\r\n- [x] isObjectLike\r\n- [x] isPlainObject\r\n- [x] isPrime\r\n- [x] isPrimitive\r\n- [x] isPromiseLike\r\n- [x] isSorted\r\n- [x] isString\r\n- [x] isSymbol\r\n- [x] isTravisCI\r\n- [x] isUndefined\r\n- [x] isUpperCase\r\n- [x] isValidJSON\r\n- [x] join\r\n- [x] JSONToFile\r\n- [x] last\r\n- [x] lcm\r\n- [x] longestItem\r\n- [x] lowercaseKeys\r\n- [x] luhnCheck\r\n- [x] mapKeys\r\n- [x] mapObject\r\n- [x] mapValues\r\n- [x] mask\r\n- [x] matches\r\n- [x] matchesWith\r\n- [x] maxBy\r\n- [x] maxN\r\n- [x] median\r\n- [x] memoize\r\n- [x] merge\r\n- [x] minBy\r\n- [x] minN\r\n- [x] negate\r\n- [x] nthArg\r\n- [x] nthElement\r\n- [x] objectFromPairs\r\n- [x] objectToPairs\r\n- [x] observeMutations\r\n- [x] off\r\n- [x] omit\r\n- [x] omitBy\r\n- [x] on\r\n- [x] once\r\n- [x] onUserInputChange\r\n- [x] orderBy\r\n- [x] over\r\n- [x] overArgs\r\n- [x] palindrome\r\n- [x] parseCookie\r\n- [x] partial\r\n- [x] partialRight\r\n- [x] partition\r\n- [x] percentile\r\n- [x] pick\r\n- [x] pickBy\r\n- [x] pipeAsyncFunctions\r\n- [x] pipeFunctions\r\n- [x] pluralize\r\n- [x] powerset\r\n- [x] prettyBytes\r\n- [x] primes\r\n- [x] promisify\r\n- [x] pull\r\n- [x] pullAtIndex\r\n- [x] pullAtValue\r\n- [x] pullBy\r\n- [x] randomHexColorCode\r\n- [x] randomIntArrayInRange\r\n- [x] randomIntegerInRange\r\n- [x] randomNumberInRange\r\n- [x] readFileLines\r\n- [x] rearg\r\n- [x] redirect\r\n- [x] reducedFilter\r\n- [x] reduceSuccessive\r\n- [x] reduceWhich\r\n- [x] remove\r\n- [x] removeNonASCII\r\n- [x] reverseString\r\n- [x] RGBToHex\r\n- [x] round\r\n- [x] runAsync\r\n- [x] runPromisesInSeries\r\n- [x] sample\r\n- [x] sampleSize\r\n- [x] scrollToTop\r\n- [x] sdbm\r\n- [x] serializeCookie\r\n- [x] setStyle\r\n- [x] shallowClone\r\n- [x] show\r\n- [x] shuffle\r\n- [x] similarity\r\n- [x] size\r\n- [x] sleep\r\n- [x] sortCharactersInString\r\n- [x] sortedIndex\r\n- [x] sortedIndexBy\r\n- [x] sortedLastIndex\r\n- [x] sortedLastIndexBy\r\n- [x] splitLines\r\n- [x] spreadOver\r\n- [x] standardDeviation\r\n- [x] stripHTMLTags\r\n- [x] sum\r\n- [x] sumBy\r\n- [x] sumPower\r\n- [x] symmetricDifference\r\n- [x] symmetricDifferenceBy\r\n- [x] symmetricDifferenceWith\r\n- [x] tail\r\n- [x] take\r\n- [x] takeRight\r\n- [x] takeRightWhile\r\n- [x] takeWhile\r\n- [x] throttle\r\n- [x] times\r\n- [x] timeTaken\r\n- [x] toCamelCase\r\n- [x] toDecimalMark\r\n- [x] toggleClass\r\n- [x] toKebabCase\r\n- [x] tomorrow\r\n- [x] toOrdinalSuffix\r\n- [x] toSafeInteger\r\n- [x] toSnakeCase\r\n- [x] transform\r\n- [x] truncateString\r\n- [x] truthCheckCollection\r\n- [x] unary\r\n- [x] unescapeHTML\r\n- [x] unfold\r\n- [x] union\r\n- [x] unionBy\r\n- [x] unionWith\r\n- [x] uniqueElements\r\n- [x] untildify\r\n- [x] unzip\r\n- [x] unzipWith\r\n- [x] URLJoin\r\n- [x] UUIDGeneratorBrowser\r\n- [x] UUIDGeneratorNode\r\n- [x] validateNumber\r\n- [x] without\r\n- [x] words\r\n- [x] xProd\r\n- [x] yesNo\r\n- [x] zip\r\n- [x] zipObject\r\n- [x] zipWith\r\n\r\nThe list might be long but we already have ~~nearly **400 test cases**~~ **over 700 test cases**.  A lot of work has been done. \r\n"},"comment":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/comments/366218252","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/issues/526#issuecomment-366218252","issue_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/526","id":366218252,"user":{"login":"Chalarangelo","id":8281875,"avatar_url":"https://avatars2.githubusercontent.com/u/8281875?v=4","gravatar_id":"","url":"https://api.github.com/users/Chalarangelo","html_url":"https://github.com/Chalarangelo","followers_url":"https://api.github.com/users/Chalarangelo/followers","following_url":"https://api.github.com/users/Chalarangelo/following{/other_user}","gists_url":"https://api.github.com/users/Chalarangelo/gists{/gist_id}","starred_url":"https://api.github.com/users/Chalarangelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chalarangelo/subscriptions","organizations_url":"https://api.github.com/users/Chalarangelo/orgs","repos_url":"https://api.github.com/users/Chalarangelo/repos","events_url":"https://api.github.com/users/Chalarangelo/events{/privacy}","received_events_url":"https://api.github.com/users/Chalarangelo/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T12:02:52Z","updated_at":"2018-02-16T12:02:52Z","author_association":"OWNER","body":"I'm closing the issue as all snippets that are testable now have automatic tests. Some tests were performed manually, so if changes are made to those snippets, we will have to re-evaluate their tests by hand (but that's like 10% of the codebase). A huge thanks to everyone who has contributed!"}}
{"actor":{"display_login":"Chalarangelo"}}