Skip to content
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

Improving tutorial tests by calling done in case of error response #11

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mateuszgryc
Copy link

Pull Request Checklist

Description of the PR

Describe the code changes for the reviewers, explain the solution you have provided and how it fixes the issue
The example tests were not calling done function in case of error response from LUSID. They are failing with timeout exception hanging after console.log.

Improvement is to return valid (failing result) in case of any unexpected results from API and unwrapping the reason of failing test as result for better debugging purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant