-
Notifications
You must be signed in to change notification settings - Fork 10
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
207 api getwhyranksandpointsdiscussionidround mostids leastids cb ranks points #245
base: master
Are you sure you want to change the base?
207 api getwhyranksandpointsdiscussionidround mostids leastids cb ranks points #245
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. I appreciate the use of Promises.all() see inline comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I npm run test get-why-ranks-and-points
I see this failing 3 tests:
Test Suites: 1 failed, 1 total
Tests: 3 failed, 2 passed, 5 total
Snapshots: 0 total
Time: 12.737 s
On think I see is the difference between whys: undefined and whys: [], whys should be undefined if data hasn't been fetched from the db yet. But mostly with this api, whatever it returns is after the fetch, so it should return whys: [].
No description provided.