jest-mocha-reporter
Version:
A reporter for jest which produces a report compatible with Atlassian Bamboo Mocha Test Parser.
61 lines (60 loc) • 2.55 kB
JSON
{
"numFailedTestSuites": 1,
"numFailedTests": 0,
"numPassedTestSuites": 0,
"numPassedTests": 0,
"numPendingTestSuites": 0,
"numPendingTests": 0,
"numRuntimeErrorTestSuites": 1,
"numTotalTestSuites": 1,
"numTotalTests": 0,
"openHandles": [],
"snapshot": {
"added": 0,
"didUpdate": false,
"failure": false,
"filesAdded": 0,
"filesRemoved": 0,
"filesUnmatched": 0,
"filesUpdated": 0,
"matched": 0,
"total": 0,
"unchecked": 0,
"uncheckedKeysByFile": [],
"unmatched": 0,
"updated": 0
},
"startTime": 1533928182436,
"success": false,
"testResults": [
{
"console": null,
"displayName": "",
"failureMessage": " \u001b[1m● \u001b[22mTest suite failed to run\n\n Error\n\n \u001b[0m \u001b[90m 30 | \u001b[39mafterEach(localStorage\u001b[33m.\u001b[39mclear)\u001b[33m;\u001b[39m\u001b[0m\n \u001b[0m \u001b[90m 31 | \u001b[39m\u001b[0m\n \u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 32 | \u001b[39m\u001b[36mthrow\u001b[39m \u001b[36mnew\u001b[39m \u001b[33mError\u001b[39m()\u001b[33m;\u001b[39m\u001b[0m\n \u001b[0m \u001b[90m | \u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n \u001b[0m \u001b[90m 33 | \u001b[39m\u001b[0m\n \u001b[0m \u001b[90m 34 | \u001b[39mit(\u001b[32m\"should render a spinner when loading\"\u001b[39m\u001b[33m,\u001b[39m async () \u001b[33m=>\u001b[39m {\u001b[0m\n \u001b[0m \u001b[90m 35 | \u001b[39m \u001b[36mconst\u001b[39m wrapper \u001b[33m=\u001b[39m await mockAndMount(\u001b[33m<\u001b[39m\u001b[33mContentBody\u001b[39m contentId\u001b[33m=\u001b[39m\u001b[32m\"123\"\u001b[39m \u001b[33m/\u001b[39m\u001b[33m>\u001b[39m\u001b[33m,\u001b[39m {\u001b[0m\n\n \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[0m\u001b[36msrc/components/ContentBody/__tests__/ContentBody-test.js\u001b[39m\u001b[0m\u001b[2m:32:7)\u001b[22m\n",
"leaks": false,
"numFailingTests": 0,
"numPassingTests": 0,
"numPendingTests": 0,
"openHandles": [],
"perfStats": {
"end": 0,
"start": 0
},
"skipped": false,
"snapshot": {
"added": 0,
"fileDeleted": false,
"matched": 0,
"unchecked": 0,
"uncheckedKeys": [],
"unmatched": 0,
"updated": 0
},
"sourceMaps": {},
"testExecError": {},
"testFilePath": "./src/components/ContentBody/__tests__/ContentBody-test.js",
"testResults": []
}
],
"wasInterrupted": false
}