-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat(cts): add tests for host, user agent, and timeouts #112
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.
I like the idea!
Small things:
- I think
api.json
file name makes more sense thanbasic.json
, as we usually give the name of what we test - I'm not sure why we use
nocheck
for the test files
GG :D
clients/algoliasearch-client-javascript/client-common/src/requester/EchoRequester.ts
Show resolved
Hide resolved
…ts-automation into chore/add-client-tests
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.
Solid! Some comments about missing tests, but lgtm overall!
I'd say it's a |
yeah adding something to cts, so feat(cts) makes sense! |
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.
Looks good! Last questions :D
] | ||
}, | ||
{ | ||
"testName": "calls api with correct user agent", |
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.
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.
Works for me
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!!!
* chore: add tests for host, user agent, and timeouts * chore: rename test * chore: add more tests * fix: add host to EchoResponse * chore: rename tests * chore: fix host test and add region test * Update suite.mustache * chore: update generated tests * update tests for region * fix wrong timeouts * wip * update region tests
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-290
Changes included: