-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide clear error message when users attempt nested/async calls to …
…`test` (#961) Fixes #948. AVA does not support nested / async calls to `test`, but we were not providing a great error message when users attempted that. * added failing test for expected error * tests passed: waiting for review * added test * changed error message * fixed error in test * changed 'hasBegunRunning' to 'hasStarted'
- Loading branch information
1 parent
c82f980
commit 8edd9c2
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters