Add an asynchronous test to run. The test must include a call to start().
Asynchronous tests added are queued and run one after the other. Equivalent to calling a normal test() and immediately calling stop().
Arguments:
| name | String | |
|---|---|---|
| The name of the test | ||
| expected (Optional) | Number | |
| How many assertions are expected to run. | ||
| test | Function | |
| The actual testing code to run, should include at least one assertion. | ||
