Updated all, any, none

Merged them with their by counterparts.
This commit is contained in:
Angelos Chalaris
2018-02-16 13:43:43 +02:00
parent ce77e2b8b7
commit 9a3bd8ffae
22 changed files with 58 additions and 135 deletions

View File

@ -1,11 +1,9 @@
Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
Test log for: Fri Feb 16 2018 13:42:15 GMT+0200 (GTB Standard Time)
> 30-seconds-of-code@0.0.1 test G:\My Files\git Repositories\30-seconds-of-code
> tape test/**/*.test.js | tap-spec
Testing all
√ all is a Function
@ -15,10 +13,6 @@ Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
√ Returns false for arrays with undefined
√ Returns false for arrays with null
√ Returns false for arrays with empty strings
Testing allBy
√ allBy is a Function
√ Returns true with predicate function
√ Returns false with a predicate function
@ -35,19 +29,8 @@ Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
√ Returns true for arrays with at least one truthy value
√ Returns false for arrays with no truthy values
√ Returns false for arrays with no truthy values
Testing anyBy
√ anyBy is a Function
√ Returns true with predicate function
√ Returns false with a predicate function
Testing anagrams
√ anagrams is a Function
√ Generates all anagrams of a string
√ Works for single-letter strings
√ Works for empty strings
Testing approximatelyEqual
@ -1089,6 +1072,10 @@ Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
√ Returns the n minimum elements from the provided array
√ Returns the n minimum elements from the provided array
Testing mostPerformant
√ mostPerformant is a Function
Testing negate
√ negate is a Function
@ -1099,10 +1086,6 @@ Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
√ none is a Function
√ Returns true for arrays with no truthy values
√ Returns false for arrays with at least one truthy value
Testing noneBy
√ noneBy is a Function
√ Returns true with a predicate function
√ Returns false with predicate function
@ -1892,15 +1875,13 @@ Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
√ zipWith is a Function
√ Runs the function provided
√ Sends a GET request
√ Sends a GET request
√ Runs the function provided
√ Runs promises in series
√ Sends a POST request
√ Works with multiple promises
total: 924
passing: 924
duration: 2.5s
total: 945
passing: 945
duration: 4.9s