forked from theintern/intern
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix theintern#67, moved calling beforeEach and afterEach into Test.
Also added more unit tests.
- Loading branch information
Showing
4 changed files
with
325 additions
and
94 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
Oops, something went wrong.
1 comment
on commit 1dbc181
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a comment to issue theintern#67 as this request currently seems to execute the afterEach calls in the reverse order to what I'd expect: it executes them top-to-bottom rather than bottom-to-top.
If the purpose of this comment is to discourage people from overriding this method, we should just plainly tell them that (in addition to what you already have about using the test interfaces.) I would also remove the ./interfaces/* syntax, it looks odd.