March 2023
Intermediate to advanced
280 pages
3h 52m
English
For this to work, notice that the second argument to the it function call is now marked as async. This is a hint to how the test runner must change: it must assume that the test body returns a Promise object, which is what the async method means.
But with our current test runner, our tests will complete, reporting no failures for any test that awaits a Promise, because our test runner won’t ...
Read now
Unlock full access