mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Fix flutter-json doesn't provide error details
This commit is contained in:
parent
2365963b2e
commit
855ff9bfaf
13 changed files with 3196 additions and 51 deletions
|
|
@ -22,9 +22,7 @@ TestRunResult {
|
|||
"tests": Array [
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"line": 10,
|
||||
"path": "__tests__/main.test.js",
|
||||
"stackTrace": "Error: expect(received).toBeTruthy()
|
||||
"details": "Error: expect(received).toBeTruthy()
|
||||
|
||||
Received: false
|
||||
at Object.<anonymous> (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\__tests__\\\\main.test.js:10:21)
|
||||
|
|
@ -34,6 +32,8 @@ Received: false
|
|||
at mapper (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:28:19)
|
||||
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41
|
||||
at processTicksAndRejections (internal/process/task_queues.js:97:5)",
|
||||
"line": 10,
|
||||
"path": "__tests__/main.test.js",
|
||||
},
|
||||
"name": "Failing test",
|
||||
"result": "failed",
|
||||
|
|
@ -41,9 +41,7 @@ Received: false
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"line": 2,
|
||||
"path": "lib/main.js",
|
||||
"stackTrace": "Error: Some error
|
||||
"details": "Error: Some error
|
||||
at Object.throwError (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\lib\\\\main.js:2:9)
|
||||
at Object.<anonymous> (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\__tests__\\\\main.test.js:14:11)
|
||||
at Object.asyncJestTest (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\jasmineAsyncInstall.js:106:37)
|
||||
|
|
@ -52,6 +50,8 @@ Received: false
|
|||
at mapper (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:28:19)
|
||||
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41
|
||||
at processTicksAndRejections (internal/process/task_queues.js:97:5)",
|
||||
"line": 2,
|
||||
"path": "lib/main.js",
|
||||
},
|
||||
"name": "Exception in target unit",
|
||||
"result": "failed",
|
||||
|
|
@ -64,9 +64,7 @@ Received: false
|
|||
"tests": Array [
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"line": 21,
|
||||
"path": "__tests__/main.test.js",
|
||||
"stackTrace": "Error: Some error
|
||||
"details": "Error: Some error
|
||||
at Object.<anonymous> (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\__tests__\\\\main.test.js:21:11)
|
||||
at Object.asyncJestTest (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\jasmineAsyncInstall.js:106:37)
|
||||
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:45:12
|
||||
|
|
@ -74,6 +72,8 @@ Received: false
|
|||
at mapper (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:28:19)
|
||||
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41
|
||||
at processTicksAndRejections (internal/process/task_queues.js:97:5)",
|
||||
"line": 21,
|
||||
"path": "__tests__/main.test.js",
|
||||
},
|
||||
"name": "Exception in test",
|
||||
"result": "failed",
|
||||
|
|
@ -92,9 +92,7 @@ Received: false
|
|||
"tests": Array [
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"line": 1,
|
||||
"path": "__tests__/second.test.js",
|
||||
"stackTrace": ": Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error:
|
||||
"details": ": Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error:
|
||||
at new Spec (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\jasmine\\\\Spec.js:116:22)
|
||||
at new Spec (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\setup_jest_globals.js:78:9)
|
||||
at specFactory (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\jasmine\\\\Env.js:523:24)
|
||||
|
|
@ -108,6 +106,8 @@ Received: false
|
|||
at jasmine2 (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\index.js:230:13)
|
||||
at runTestInternal (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-runner\\\\build\\\\runTest.js:380:22)
|
||||
at runTest (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-runner\\\\build\\\\runTest.js:472:34)",
|
||||
"line": 1,
|
||||
"path": "__tests__/second.test.js",
|
||||
},
|
||||
"name": "Timeout test",
|
||||
"result": "failed",
|
||||
|
|
@ -22013,9 +22013,7 @@ Is good for you.\\")",
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"line": 418,
|
||||
"path": "e2e/__tests__/jestChangedFiles.test.ts",
|
||||
"stackTrace": "Error: abort: empty revision range
|
||||
"details": "Error: abort: empty revision range
|
||||
at makeError (/home/dorny/dorny/jest/node_modules/execa/lib/error.js:59:11)
|
||||
at handlePromise (/home/dorny/dorny/jest/node_modules/execa/index.js:114:26)
|
||||
at runMicrotasks (<anonymous>)
|
||||
|
|
@ -22026,6 +22024,8 @@ Is good for you.\\")",
|
|||
at Object.<anonymous> (/home/dorny/dorny/jest/e2e/__tests__/jestChangedFiles.test.ts:418:28)
|
||||
at _callCircusTest (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:218:5)
|
||||
at _runTest (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:155:3)",
|
||||
"line": 418,
|
||||
"path": "e2e/__tests__/jestChangedFiles.test.ts",
|
||||
},
|
||||
"name": "gets changed files for hg",
|
||||
"result": "failed",
|
||||
|
|
@ -25368,9 +25368,7 @@ Is good for you.\\")",
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"line": 360,
|
||||
"path": "e2e/__tests__/onlyChanged.test.ts",
|
||||
"stackTrace": "Error: expect(received).toMatch(expected)
|
||||
"details": "Error: expect(received).toMatch(expected)
|
||||
|
||||
Expected pattern: /PASS __tests__(\\\\/|\\\\\\\\)file2.test.js/
|
||||
Received string: \\"·
|
||||
|
|
@ -25387,6 +25385,8 @@ Received string: \\"·
|
|||
at _runTestsForDescribeBlock (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:66:9)
|
||||
at run (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:25:3)
|
||||
at runAndTransformResultsToJestFormat (/home/dorny/dorny/jest/packages/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:163:21)",
|
||||
"line": 360,
|
||||
"path": "e2e/__tests__/onlyChanged.test.ts",
|
||||
},
|
||||
"name": "gets changed files for hg",
|
||||
"result": "failed",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue