tests: remove eslint-disable jest/no-test-callback (#1312)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* tests: remove eslint-disable jest/no-test-callback Instead of using the `done` callback from the test function, we can be using a Promise instead. I've checked that if `resolve` is not called the test fails (timeout). * fix: code style * test: ensure an assertion is made (code review)
authored by michga · committed by GitHub · parent 8fb669f · Browse files · 1 file+11 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+11 added−11 removed
- tests:+11 added−11 removed