Conversation
The issue came about because the test is asynchronous but wasn't supplied a done callback. This lead to a swallowed error. This commit fixes the test such that it gives the expected result and calls the done callback
|
From my perspective, I always settle my system, defining something like When I need series of values, I use |
|
@StreetStrider I do believe the test framework and eslint settings are due for an overhaul. For instance the tests fail if I use arrow functions as that's not permissible by the es version. With that in mind, how would you change the test? |
|
@nordfjord with that in mind, my strategy still can be applied. Before |
|
@StreetStrider I've updated the PR returning a Promise instead of using |
|
Looks good. |
The issue came about because the test is asynchronous but wasn't
supplied a done callback.
This lead to a swallowed error.
This commit fixes the test such that it gives the expected result and
calls the done callback