Promises . Return a promise from your test, and Jest will wait for that promise to resolve. If the promise is rejected, the test will fail.
確定! 回上一頁