Commit Graph

2 Commits

Author SHA1 Message Date
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
Martin Hanzel c0e743bf0c Migrate old notes app test from Karma to Jest 2019-06-05 21:28:40 +00:00