Skip to content

Conversation

@guifry
Copy link
Contributor

@guifry guifry commented Feb 16, 2024

If the API ever returns a response the client doesn't know how to handle, then the client should default the consents to REJECTED.

I've also added a mock API with express designed for this purpose, as well as testing timeouts.
Useful for manual debugging.

@guifry guifry requested a review from nacnudus February 16, 2024 10:02
@guifry guifry force-pushed the guilhemf/fix/handle-bad-response-format branch 3 times, most recently from 51580b1 to 68faff6 Compare March 6, 2024 09:08
test(client): add unit tests for bad repsonse format handling

chore(client): created mock expressjs app for testing timeouts and bad
response formats
@guifry guifry force-pushed the guilhemf/fix/handle-bad-response-format branch from 68faff6 to 632d430 Compare March 6, 2024 09:09
@guifry guifry merged commit f0a0876 into main Mar 6, 2024
@guifry guifry deleted the guilhemf/fix/handle-bad-response-format branch March 6, 2024 09:38
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