Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
disableRanges.test.js
that uses callbacks (#4991)
This change uses `async/await` a lot to avoid callbacks. Also, it uses `.rejects` of Jest to test thrown erros, instead of `throw/catch`. (see <https://jestjs.io/docs/en/tutorial-async.html#rejects>)
- Loading branch information