@reporters/github 1.1.1 → 1.1.2
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/CHANGELOG.md +7 -0
- package/index.js +2 -1
- package/package.json +1 -1
- package/tests/output.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.2](https://github.com/MoLow/reporters/compare/github-v1.1.1...github-v1.1.2) (2023-02-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **github:** remove redundant diagnostics ([b62df32](https://github.com/MoLow/reporters/commit/b62df3280b141af763386a68b0b4e386bef907e7))
|
|
9
|
+
|
|
3
10
|
## [1.1.1](https://github.com/MoLow/reporters/compare/github-v1.1.0...github-v1.1.1) (2023-02-28)
|
|
4
11
|
|
|
5
12
|
|
package/index.js
CHANGED
|
@@ -64,9 +64,10 @@ module.exports = async function githubReporter(source) {
|
|
|
64
64
|
counter.fail += 1;
|
|
65
65
|
break;
|
|
66
66
|
} case 'test:diagnostic':
|
|
67
|
-
core.notice(event.data.message, { file: getFilePath(event.data.file) });
|
|
68
67
|
if (event.data.nesting === 0) {
|
|
69
68
|
diagnostics.push(event.data.message);
|
|
69
|
+
} else {
|
|
70
|
+
core.notice(event.data.message, { file: getFilePath(event.data.file) });
|
|
70
71
|
}
|
|
71
72
|
break;
|
|
72
73
|
default:
|
package/package.json
CHANGED
package/tests/output.js
CHANGED
|
@@ -5,13 +5,6 @@ module.exports = {
|
|
|
5
5
|
::debug::starting to run fails
|
|
6
6
|
::error title=fails,file=tests/example.js::\\[Error \\[ERR_TEST_FAILURE\\]: this is an error\\] {%0A failureType: 'testCodeFailure',%0A cause: Error: this is an error%0A at Object.<anonymous> (.*/example.js:6:11).*
|
|
7
7
|
::error title=tests,file=tests/example.js::\\[Error \\[ERR_TEST_FAILURE\\]: 1 subtest failed\\] { failureType: 'subtestsFailed', cause: '1 subtest failed', code: 'ERR_TEST_FAILURE' }
|
|
8
|
-
::notice file=tests/example.js::tests 1
|
|
9
|
-
::notice file=tests/example.js::pass 0
|
|
10
|
-
::notice file=tests/example.js::fail 1
|
|
11
|
-
::notice file=tests/example.js::cancelled 0
|
|
12
|
-
::notice file=tests/example.js::skipped 0
|
|
13
|
-
::notice file=tests/example.js::todo 0
|
|
14
|
-
::notice file=tests/example.js::duration_ms .*
|
|
15
8
|
::group::Test results \\(1 passed, 2 failed\\)
|
|
16
9
|
::notice::Total Tests: 1%0APassed ✅: 0%0AFailed ❌: 1%0ACanceled 🚫: 0%0ASkipped ⏭️: 0%0ATodo 📝: 0%0ADuration: .*ms
|
|
17
10
|
::endgroup::
|