Tests for takeWhile, takeRightWhile, times
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
Test log for: Sat Feb 03 2018 12:08:59 GMT+0200 (GTB Standard Time)
|
||||
Test log for: Sat Feb 03 2018 12:17:47 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
|
||||
@ -1346,10 +1346,12 @@ Test log for: Sat Feb 03 2018 12:08:59 GMT+0200 (GTB Standard Time)
|
||||
Testing takeRightWhile
|
||||
|
||||
√ takeRightWhile is a Function
|
||||
√ Removes elements until the function returns true
|
||||
|
||||
Testing takeWhile
|
||||
|
||||
√ takeWhile is a Function
|
||||
√ Removes elements until the function returns true
|
||||
|
||||
Testing throttle
|
||||
|
||||
@ -1358,6 +1360,7 @@ Test log for: Sat Feb 03 2018 12:08:59 GMT+0200 (GTB Standard Time)
|
||||
Testing times
|
||||
|
||||
√ times is a Function
|
||||
√ Runs a function the specified amount of times
|
||||
|
||||
Testing timeTaken
|
||||
|
||||
@ -1636,8 +1639,8 @@ Test log for: Sat Feb 03 2018 12:08:59 GMT+0200 (GTB Standard Time)
|
||||
√ Works with multiple promises
|
||||
|
||||
|
||||
total: 740
|
||||
passing: 740
|
||||
total: 743
|
||||
passing: 743
|
||||
duration: 2.4s
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user