forked from ArtiomTr/jest-coverage-report-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
formatCoverage.test.ts.snap
44 lines (37 loc) · 5.14 KB
/
formatCoverage.test.ts.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 |
> :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 |
"
`;
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 |
"
`;
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 |
"
`;