Closed k-g-j closed 8 months ago
This PR extracts the #submitRequest logic into smaller helper functions and utilities. Functions added:
#submitRequest
#validateMethod
#createPromise
#submitSnapRequest
#handleSyncResponse
#handleAsyncResponse
#validateRedirectUrl
Addresses: Comment point 3 on #228
All current tests run as expected, and coverage remains at 100%
Description
This PR extracts the
#submitRequest
logic into smaller helper functions and utilities. Functions added:#validateMethod
#createPromise
#submitSnapRequest
#handleSyncResponse
#handleAsyncResponse
#validateRedirectUrl
Addresses: Comment point 3 on #228
Testing
All current tests run as expected, and coverage remains at 100%