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

Add token service timeout param and improve tests #793

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Apr 21, 2022

The tests for the token service API have been expanded to cover error scenarios.

A new timeout optional parameter was added to make testing easier. The default timeout remains unchanged.

The tests for the token service API have been expanded to cover error
scenarios.

A new timeout optional parameter was added to make testing easier. The
default timeout remains unchanged.
@Gudahtt Gudahtt requested a review from a team as a code owner April 21, 2022 19:25
mcmire
mcmire previously approved these changes Apr 21, 2022
Copy link
Contributor

@mcmire mcmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, but looks good regardless.

src/apis/token-service.ts Show resolved Hide resolved
@Gudahtt Gudahtt merged commit e76c545 into main Apr 21, 2022
@Gudahtt Gudahtt deleted the increase-token-api-test-coverage branch April 21, 2022 21:45
@adonesky1 adonesky1 mentioned this pull request May 3, 2022
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* Add token service timeout param and improve tests

The tests for the token service API have been expanded to cover error
scenarios.

A new timeout optional parameter was added to make testing easier. The
default timeout remains unchanged.

* Use ALL_CAPS for constants
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* Add token service timeout param and improve tests

The tests for the token service API have been expanded to cover error
scenarios.

A new timeout optional parameter was added to make testing easier. The
default timeout remains unchanged.

* Use ALL_CAPS for constants
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.

2 participants