Commit Graph

2 Commits

Author SHA1 Message Date
GitLab Bot 30b17460a2 Add latest changes from gitlab-org/gitlab@master 2020-05-14 18:08:06 +00:00
Martin Hanzel bd20aeb64c 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.
2019-09-05 12:56:17 +00:00