-
-
Notifications
You must be signed in to change notification settings - Fork 631
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
Fixed code and unit tests #645
Conversation
jbigman
commented
Jul 26, 2023
- fixed search: more section title is not always empty, it can contain "Apps"
- fixed missing comments (ds:9 => ds:8)
- new url called to test throttle,
- updated expected results
- fixed search: more section title is not always empty, it can contain "Apps" - fixed missing comments (ds:9 => ds:8) - new url called to test throttle, - updated expected results
…will answer quickly
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.
Lgtm except for those logs, remove and I'll merge
test/lib.search.js
Outdated
return gplay.search({ term: 'netflix' }) | ||
.then((apps) => { | ||
console.log(apps.map((app) => app.appId)); |
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.
Don't leave console logs in the code
test/lib.search.js
Outdated
}); | ||
}); | ||
|
||
it('should return few netflix apps from german store with german language', () => { | ||
return gplay.search({ term: 'netflix', lang: 'de', country: 'DE' }) | ||
.then((apps) => { | ||
console.log(apps.map((app) => app.appId)); |
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.
Same
I don't know why the throttle tests are timing out here, the build passed at my fork. |
Seems to fail consistently... I'll merge this anyway as it's an improvement from the current code, but we should try to figure out why it doesn't pass. |