File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ This can be useful if you have a unit test that mocks API calls and you need to
45
45
wait for your mock promises to all resolve .
46
46
47
47
If you return a promise in the ` waitFor ` callback (either explicitly or
48
- implicitly with ` async ` syntax ), then the ` waitFor ` utility will not call your
49
- callback again until that promise rejects . This allows you to ` waitFor ` things
50
- that must be checked asynchronously .
48
+ implicitly with the ` async ` syntax ), then the ` waitFor ` utility does not call
49
+ your callback again until that promise rejects . This allows you to ` waitFor `
50
+ things that must be checked asynchronously .
51
51
52
52
The default ` interval ` is ` 50ms ` . However , it runs your callback
53
53
immediatelybefore starting the intervals .
Original file line number Diff line number Diff line change 77
77
-->
78
78
79
79
[npm]: https://www.npmjs.com/
80
- [node]: https://nodejs.org
You can’t perform that action at this time.
0 commit comments