-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fullName(to show ancestor titles) for test name pattern plugin (#26)
Fixes: #24 This should allow the test name pattern plugin to display "describe" blocks. ![Screen Shot 2019-03-13 at 4 46 15 PM](https://user-images.githubusercontent.com/574806/54321760-a2892100-45af-11e9-8c3e-01a806f7c7a5.png) I think we don't need to check for `fullName` and `title` because watch plugins were introduced in Jest@23 and `fullName` [was added in Jest@21](https://github.com/facebook/jest/blob/master/CHANGELOG.md#jest-2100) * Should we decorate the output to better format each of the nested describe block(by using `ancestorTitles`) instead of a sentence? Or should we keep it as a sentence-ish? @SimenB
- Loading branch information
Showing
4 changed files
with
91 additions
and
17 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
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