bd20aeb64c
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. |
||
---|---|---|
.. | ||
ajax_cache_spec.js | ||
autosave_spec.js | ||
axios_utils_spec.js | ||
cache_spec.js | ||
color_utils_spec.js | ||
datetime_utility_spec.js | ||
forms_spec.js | ||
grammar_spec.js | ||
image_utility_spec.js | ||
number_utility_spec.js | ||
text_utility_spec.js | ||
url_utility_spec.js |