Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add testAsync() helper to Suite
Add testAsync() helper function to Suite to simplify running tests that return a Promise. The test action is executed and if a syncronous error is thrown then it is immediately considered failed. If the Promise resolves successfully then the test is considered successful. If the Promise rejects with an Error then the test is considered failed.
- Loading branch information