diff options
author | Martin Hanzel <martin@hanzel.io> | 2019-09-05 15:56:17 +0300 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2019-09-05 15:56:17 +0300 |
commit | bd20aeb64c4eed117831556c54b40ff4aee9bfd1 (patch) | |
tree | 6a94bdd21bc56943f159e9422249c41a0713823c /CHANGELOG.md | |
parent | 914af2f516acfa05cead52e438a35464abb4ac1d (diff) |
Add helpers to wait for axios requests
Add two methods to the axios_utils Jest mock:
- `waitFor(url)`, which returns a Promise that resolves when the
next request to `url` finishes.
- `waitForAll()`, which returns a Promise that resolves when all
pending requests finish.
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions