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. |
||
|---|---|---|
| .. | ||
| ce/lib/utils | ||
| node | ||
| mocks_helper.js | ||
| mocks_helper_spec.js | ||