-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show nice error on tests failure (#416)
* Handle test run error * Change error formatting * Updated snapshots
- Loading branch information
Showing
12 changed files
with
530 additions
and
452 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`formatCoverage should display warning if hiding details 1`] = ` | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :----------------------------------------------------------------------------------------------------------------------------------------------------: | :--------- | :--------- | :-------------: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π’ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :-: | :- | :- | :-: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π’ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
> :warning: Details were not displayed: the report size has exceeded the limit." | ||
`; | ||
exports[`formatCoverage should format standard coverage 1`] = ` | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :----------------------------------------------------------------------------------------------------------------------------------------------------: | :--------- | :--------- | :-------------: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π’ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :-: | :- | :- | :-: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π’ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
" | ||
`; | ||
exports[`formatCoverage should format standard coverage 2`] = ` | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :----------------------------------------------------------------------------------------------------------------------------------------------------: | :--------- | :--------- | :-------------: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π’ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :-: | :- | :- | :-: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π’ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
" | ||
`; | ||
exports[`formatCoverage should format standard coverage 3`] = ` | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :----------------------------------------------------------------------------------------------------------------------------------------------------: | :--------- | :--------- | :-------------: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π‘ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
"| <div title=\\"Status of coverage: π’ - ok π‘ - slightly more than threshold π΄ - under the threshold\\">St.<sup>:grey_question:</sup></div> | Category | Percentage | Covered / Total | | ||
| :-: | :- | :- | :-: | | ||
| π’ | Statements | 81.82% | 27/33 | | ||
| π’ | Branches | 100% | 8/8 | | ||
| π‘ | Functions | 63.64% | 7/11 | | ||
| π’ | Lines | 80.65% | 25/31 | | ||
" | ||
`; |
Oops, something went wrong.