You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Translation service] Constrain service api (#2539)
* [translation-service] Delay `request`'s work in api.js
The "work" got executed immediately, and just the response was
delayed with setTimeout. The user could make a next fetch without
waiting for a response. Now the work itself is done in the timeout
callback, getting delayed too.
* [translation-service] Add `ConnectionError` error class
Any Error child class satisfied tests that expected
`toThrow(Error)`, meaning unintended behaviour still passed the
tests.
* [CI] Format code
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
0 commit comments