πͺ² fixed "Error: TypeError: Cannot read properties of undefined (readiβ¦ #247
+103
β2
GitHub Actions / Workflow Report
failed
Dec 17, 2023 in 1s
Workflow Report β
βΒ jest-junit.xml
34 tests were completed in 7s with 33 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
tests/dart-json.test.ts | 3β | 709ms | ||
tests/dotnet-trx.test.ts | 4β | 6s | ||
tests/java-junit.test.ts | 4β | 1β | 5s | |
tests/java-stack-trace-element-parser.test.ts | 7β | 280ms | ||
tests/jest-junit.test.ts | 4β | 5s | ||
tests/mocha-json.test.ts | 3β | 674ms | ||
tests/swift-xunit.test.ts | 1β | 388ms | ||
tests/utils/parse-utils.test.ts | 7β | 247ms |
β Β tests/dart-json.test.ts
dart-json tests
β
produces empty test run result when there are no test cases
β
matches report snapshot
β
report from rrousselGit/provider test results matches snapshot
β Β tests/dotnet-trx.test.ts
dotnet-trx tests
β
produces empty test run result when there are no test cases
β
matches report snapshot
β
report from FluentValidation test results matches snapshot
β
report from SilentNotes test results matches snapshot
βΒ tests/java-junit.test.ts
java-junit tests
β
produces empty test run result when there are no test cases
β
report from apache/pulsar single suite test results matches snapshot
β
report from apache/pulsar test results matches snapshot
β report from jest in junit format
Error: expect(received).toMatchSnapshot()
β
parses empty failures in test results
β Β tests/java-stack-trace-element-parser.test.ts
parseStackTraceLine tests
β
empty line is not parsed
parseStackTraceLine tests βΊ java class
β
simple
β
inner class
β
starts with whitespaces
parseStackTraceLine tests βΊ java class βΊ since Java 9
β
with classloader and module
β
with classloader
parseStackTraceLine tests βΊ Kotlin class
β
method name containing whitespaces
β Β tests/jest-junit.test.ts
jest-junit tests
β
produces empty test run result when there are no test cases in the testsuites element
β
produces empty test run result when there are no test cases in a nested testsuite element
β
report from ./reports/jest test results matches snapshot
β
report from facebook/jest test results matches snapshot
β Β tests/mocha-json.test.ts
mocha-json tests
β
produces empty test run result when there are no test cases
β
report from ./reports/mocha-json test results matches snapshot
β
report from mochajs/mocha test results matches snapshot
β Β tests/swift-xunit.test.ts
swift-xunit tests
β
report from swift test results matches snapshot
β Β tests/utils/parse-utils.test.ts
parseNetDuration
β
returns 0 for 00:00:00
β
returns 0 for 00:00:00.0000000
β
returns 123 for 00:00:00.123
β
returns 12 * 1000 for 00:00:12
β
returns 12 * 60 * 1000 for 00:12:00
β
returns 12 * 60 * 60 * 1000 for 12:00:00
β
throws when string has invalid format
Annotations
Check failure on line 28 in __tests__/java-junit.test.ts
github-actions / Workflow Report
__tests__/java-junit.test.ts βΊ java-junit tests βΊ report from jest in junit format
Failed test found in:
jest-junit.xml
Error:
Error: expect(received).toMatchSnapshot()
Raw output
Error: expect(received).toMatchSnapshot()
Snapshot name: `java-junit tests report from jest in junit format 1`
- Snapshot - 6
+ Received + 6
@@ -1,15 +1,15 @@
TestRunResult {
"path": "fixtures/external/java/test-report-jest.xml",
- "suites": Array [
+ "suites": [
TestSuiteResult {
- "groups": Array [
+ "groups": [
TestGroupResult {
"name": "MaintenanceFilterComponent",
- "tests": Array [
+ "tests": [
TestCaseResult {
- "error": Object {
+ "error": {
"details": undefined,
"line": undefined,
"message": undefined,
"path": undefined,
},
@@ -22,14 +22,14 @@
],
"name": "maintenance/maintenance-filter/maintenance-filter.component.spec.ts",
"totalTime": 1204,
},
TestSuiteResult {
- "groups": Array [
+ "groups": [
TestGroupResult {
"name": "AppComponent",
- "tests": Array [
+ "tests": [
TestCaseResult {
"error": undefined,
"name": "should create the app",
"result": "success",
"time": 0,
at /home/runner/work/test-reporter/test-reporter/__tests__/java-junit.test.ts:91:20
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/test-reporter/test-reporter/__tests__/java-junit.test.ts:28:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Loading