@e2e-dev/github 0.4.3-nightly-20261021080401 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build.json +1 -1
- package/dist/merge.d.ts +3 -1
- package/dist/merge.js +5 -1
- package/package.json +3 -3
package/dist/.build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.4.3
|
|
1
|
+
{"version":"0.4.3"}
|
package/dist/merge.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ import type { Report } from 'e2e';
|
|
|
24
24
|
* the page is red, since the suite is not known to pass. A carried test the
|
|
25
25
|
* first pass interrupted reached no verdict: it leaves the outcome alone and
|
|
26
26
|
* the page reads interrupted, not green. The start is the run before's, so
|
|
27
|
-
* the footer's duration spans both.
|
|
27
|
+
* the footer's duration spans both. The rerun takes the run before's filter
|
|
28
|
+
* records and the change they judged, since the rows those filters left out
|
|
29
|
+
* are the run before's too.
|
|
28
30
|
*/
|
|
29
31
|
export declare function foldLastRun(current: Report, lastRun: Report): Report;
|
package/dist/merge.js
CHANGED
|
@@ -81,7 +81,9 @@ function summarize(results, base) {
|
|
|
81
81
|
* the page is red, since the suite is not known to pass. A carried test the
|
|
82
82
|
* first pass interrupted reached no verdict: it leaves the outcome alone and
|
|
83
83
|
* the page reads interrupted, not green. The start is the run before's, so
|
|
84
|
-
* the footer's duration spans both.
|
|
84
|
+
* the footer's duration spans both. The rerun takes the run before's filter
|
|
85
|
+
* records and the change they judged, since the rows those filters left out
|
|
86
|
+
* are the run before's too.
|
|
85
87
|
*/
|
|
86
88
|
export function foldLastRun(current, lastRun) {
|
|
87
89
|
if (lastRun.run.project.id !== current.run.project.id)
|
|
@@ -142,6 +144,8 @@ export function foldLastRun(current, lastRun) {
|
|
|
142
144
|
results,
|
|
143
145
|
errors: [...current.run.errors, ...carriedErrors],
|
|
144
146
|
summary: summarize(results, current.run.summary),
|
|
147
|
+
filters: lastRun.run.filters,
|
|
148
|
+
changes: lastRun.run.changes,
|
|
145
149
|
},
|
|
146
150
|
};
|
|
147
151
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e2e-dev/github",
|
|
3
|
-
"version": "0.4.3
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "GitHub reporter for e2e: one pull request comment per run, from GitHub Actions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"e2e",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"NOTICE"
|
|
44
44
|
],
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"e2e": "0.
|
|
46
|
+
"e2e": ">=0.15.0 <1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"e2e": "0.21.3
|
|
49
|
+
"e2e": "0.21.3",
|
|
50
50
|
"@types/node": "26.6.2",
|
|
51
51
|
"typescript": "7.0.2",
|
|
52
52
|
"vitest": "5.0.1"
|