Jest typically expects to execute the tests' functions synchronously. ... Promises fix a lot of problems from callback-based APIs.
確定! 回上一頁