You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,7 @@ Reporter options should also be strings exception for suiteNameTemplate, classNa
67
67
| `JEST_JUNIT_ADD_FILE_ATTRIBUTE` | `addFileAttribute` | Add file attribute to the output. This config is primarily for Circle CI. This setting provides richer details but may break on other CI platforms. Must be a string. | `"false"` | N/A
68
68
| `JEST_JUNIT_INCLUDE_CONSOLE_OUTPUT` | `includeConsoleOutput` | Adds console output to any testSuite that generates stdout during a test run. | `false` | N/A
69
69
| `JEST_JUNIT_INCLUDE_SHORT_CONSOLE_OUTPUT` | `includeShortConsoleOutput` | Adds short console output (only message value) to any testSuite that generates stdout during a test run. | `false` | N/A
70
+
| `JEST_JUNIT_REPORT_TEST_SUITE_ERRORS` | `reportTestSuiteErrors` | Reports test suites that failed to execute altogether as `error`. _Note:_ since the suite name cannot be determined from files that fail to load, it will default to file path.| `false` | N/A
70
71
| `JEST_USE_PATH_FOR_SUITE_NAME` | `usePathForSuiteName` | **DEPRECATED. Use `suiteNameTemplate` instead.** Use file path as the `name` attribute of `<testsuite>` | `"false"` | N/A
"failureMessage": "\u001b[1m● \u001b[22mTest suite failed to run\n\n Your test suite must contain at least one test.\n\n\u001b[2mat onResult (\u001b[22mnode_modules/@jest/core/build/TestScheduler.js\u001b[2m:175:18)\u001b[22m\n\u001b[2mat testRunner.on (\u001b[22mnode_modules/@jest/core/build/TestScheduler.js\u001b[2m:304:17)\u001b[22m\n\u001b[2mat Promise.all.staticListeners.map (\u001b[22mnode_modules/emittery/index.js\u001b[2m:260:13)\u001b[22m\n at Array.map (<anonymous>)\n\u001b[2mat Emittery.Typed.emit (\u001b[22mnode_modules/emittery/index.js\u001b[2m:258:23)\u001b[22m\n",
34
+
"leaks": false,
35
+
"numFailingTests": 0,
36
+
"numPassingTests": 0,
37
+
"numPendingTests": 0,
38
+
"numTodoTests": 0,
39
+
"openHandles": [],
40
+
"perfStats": {
41
+
"end": 0,
42
+
"runtime": 0,
43
+
"slow": false,
44
+
"start": 0
45
+
},
46
+
"skipped": false,
47
+
"snapshot": {
48
+
"added": 0,
49
+
"fileDeleted": false,
50
+
"matched": 0,
51
+
"unchecked": 0,
52
+
"uncheckedKeys": [],
53
+
"unmatched": 0,
54
+
"updated": 0
55
+
},
56
+
"testExecError": {
57
+
"message": "Your test suite must contain at least one test.",
58
+
"stack": "Error: Your test suite must contain at least one test.\n at onResult ../mpl-modules/test/docker/node_modules/@jest/core/build/TestScheduler.js:175:18)\n at testRunner.on ../mpl-modules/test/docker/node_modules/@jest/core/build/TestScheduler.js:304:17)\n at Promise.all.staticListeners.map ../mpl-modules/test/docker/node_modules/emittery/index.js:260:13)\n at Array.map (<anonymous>)\n at Emittery.Typed.emit ../mpl-modules/test/docker/node_modules/emittery/index.js:258:23)"
"failureMessage": "\u001b[1m● \u001b[22mTest suite failed to run\n\n TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):\n\u001b[96mspec/test.spec.ts\u001b[0m:\u001b[93m10\u001b[0m:\u001b[93m35\u001b[0m - \u001b[91merror\u001b[0m\u001b[90m TS2339: \u001b[0mProperty 'hello' does not exist on type 'HelloScreamer'.\n\n\u001b[7m10\u001b[0m const screamed = screamer.hello();\n\u001b[7m \u001b[0m \u001b[91m ~~~~~\u001b[0m\n",
35
+
"leaks": false,
36
+
"numFailingTests": 0,
37
+
"numPassingTests": 0,
38
+
"numPendingTests": 0,
39
+
"numTodoTests": 0,
40
+
"openHandles": [],
41
+
"perfStats": {
42
+
"end": 1499904221109,
43
+
"start": 1499904215586
44
+
},
45
+
"skipped": false,
46
+
"snapshot": {
47
+
"added": 0,
48
+
"fileDeleted": false,
49
+
"matched": 0,
50
+
"unchecked": 0,
51
+
"unmatched": 0,
52
+
"updated": 0
53
+
},
54
+
"sourceMaps": {},
55
+
"testExecError": "spec/test.spec.ts:10:35 - error TS2339: Property 'hello' does not exist on type 'HelloScreamer\n\n 10 const screamed = screamer.hello();\n~~~~~",
0 commit comments