-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix test issue as reported in #195 #196
base: master
Are you sure you want to change the base?
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