If your code uses promises, there is a more straightforward way to handle asynchronous tests. Return a promise from your test, and Jest will ...
確定! 回上一頁