jest-mocha-reporter
Version:
A reporter for jest which produces a report compatible with Atlassian Bamboo Mocha Test Parser.
1,460 lines (1,459 loc) • 728 kB
JSON
{
"success": false,
"startTime": 1471521609655,
"numTotalTestSuites": 11,
"numPassedTestSuites": 10,
"numFailedTestSuites": 1,
"numRuntimeErrorTestSuites": 0,
"numTotalTests": 33,
"numPassedTests": 29,
"numFailedTests": 2,
"numPendingTests": 2,
"testResults": [
{
"console": null,
"displayName": "",
"failureMessage": " \u001b[1m● \u001b[22mTest suite failed to run\n\n Cannot find module '../../../../test/enzyme-utils-local' from 'SpaceOverview-test.js'\n\n \u001b[0m \u001b[90m 12 | \u001b[39mjest\u001b[33m.\u001b[39mmock(\u001b[32m\"../../InlineComments\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\n \u001b[0m \u001b[90m 13 | \u001b[39mjest\u001b[33m.\u001b[39mmock(\u001b[32m\"../../EditorLoader\"\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\n \u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 14 | \u001b[39mjest\u001b[33m.\u001b[39mmock(\u001b[32m\"../../EditorFlags\"\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 15 | \u001b[39m\u001b[0m\n \u001b[0m \u001b[90m 16 | \u001b[39mit(\u001b[32m\"should show blank experience if space doesn't have space overview page\"\u001b[39m\u001b[33m,\u001b[39m async () \u001b[33m=>\u001b[39m {\u001b[0m\n \u001b[0m \u001b[90m 17 | \u001b[39m \u001b[36mconst\u001b[39m wrapper \u001b[33m=\u001b[39m await mockAndMount(\u001b[33m<\u001b[39m\u001b[33mSpaceOverview\u001b[39m spaceKey\u001b[33m=\u001b[39m\u001b[32m\"DS\"\u001b[39m \u001b[33m/\u001b[39m\u001b[33m>\u001b[39m\u001b[33m,\u001b[39m {\u001b[0m\n\n \u001b[2mat Resolver.resolveModule (\u001b[22m\u001b[0m\u001b[36m../../node_modules/jest-runner/node_modules/jest-resolve/build/index.js\u001b[39m\u001b[0m\u001b[2m:210:17)\u001b[22m\n \u001b[2mat Object.<anonymous> (\u001b[22m\u001b[0m\u001b[36msrc/components/SpaceOverview/__tests__/SpaceOverview-test.js\u001b[39m\u001b[0m\u001b[2m:14:376)\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": "Cannot find module '../../../../test/enzyme-utils-local' from 'SpaceOverview-test.js'",
"testFilePath": "src/components/SpaceOverview/__tests__/SpaceOverview-test.js",
"testResults": []
},
{
"numFailingTests": 2,
"numPassingTests": 1,
"numPendingTests": 1,
"testResults": [
{
"title": "it should call \"asyncFetchOpportunities\"",
"status": "failed",
"ancestorTitles": [
"Saga middleware"
],
"failureMessages": [
"Expected [ 'somethingBeingTested' ] to equal [ 'notsomethingBeingTested' ].\n at stack (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1580:17)\n at Object.buildExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1550:14)\n at jasmine.buildExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/index.js:80:44)\n at Spec.Env.expectationResultFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:641:18)\n at Spec.addExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:333:34)\n at Expectation.addExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:591:21)\n at Expectation.eval [as toEqual] (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1504:12)\n at Object.eval (/path/to/somethingBeingTested/__tests__/saga-test.js:12:63)\n at Object.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/jasmine-pit.js:35:32)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Spec.Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Spec.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:362:10)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2483:37)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2468:13)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at TreeProcessor.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2330:7)\n at Env.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:760:17)\n at jasmine2 (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/index.js:253:7)\n at Test.run (/anotherPath/to/node_modules/jest-cli/src/Test.js:44:12)\n at process.on.module.exports.Test.run.then.result (/anotherPath/to/node_modules/jest-cli/src/TestWorker.js:50:8)\n at handle (/anotherPath/to/node_modules/jest-cli/node_modules/worker-farm/lib/child/index.js:41:8)\n at process.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/worker-farm/lib/child/index.js:47:3)\n at emitTwo (events.js:87:13)\n at process.emit (events.js:172:7)\n at handleMessage (internal/child_process.js:686:10)\n at Pipe.channel.onread (internal/child_process.js:440:11)",
"Expected Object({ type: 'OPPORTUNITIES_FETCH_SUCCEEDED', opportunities: undefined }) to equal Object({ type: 'OPPORTUNITIES_FETCH_SUCCEEDED2', opportunities: null }).\n at stack (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1580:17)\n at Object.buildExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1550:14)\n at jasmine.buildExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/index.js:80:44)\n at Spec.Env.expectationResultFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:641:18)\n at Spec.addExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:333:34)\n at Expectation.addExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:591:21)\n at Expectation.eval [as toEqual] (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1504:12)\n at Object.eval (/path/to/somethingBeingTested/__tests__/saga-test.js:15:63)\n at Object.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/jasmine-pit.js:35:32)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Spec.Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Spec.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:362:10)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2483:37)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2468:13)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at TreeProcessor.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2330:7)\n at Env.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:760:17)\n at jasmine2 (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/index.js:253:7)\n at Test.run (/anotherPath/to/node_modules/jest-cli/src/Test.js:44:12)\n at process.on.module.exports.Test.run.then.result (/anotherPath/to/node_modules/jest-cli/src/TestWorker.js:50:8)\n at handle (/anotherPath/to/node_modules/jest-cli/node_modules/worker-farm/lib/child/index.js:41:8)\n at process.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/worker-farm/lib/child/index.js:47:3)\n at emitTwo (events.js:87:13)\n at process.emit (events.js:172:7)\n at handleMessage (internal/child_process.js:686:10)\n at Pipe.channel.onread (internal/child_process.js:440:11)"
],
"numPassingAsserts": 0
},
{
"title": "it should call \"fetchOpportunities\"",
"status": "failed",
"ancestorTitles": [
"Saga middleware"
],
"failureMessages": [
"Expected 'ASYNC_FETCH_OPPORTUNITIES' to equal 'ASYNC_FETCH_OPPORTUNITIES!'.\n at stack (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1580:17)\n at Object.buildExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1550:14)\n at jasmine.buildExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/index.js:80:44)\n at Spec.Env.expectationResultFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:641:18)\n at Spec.addExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:333:34)\n at Expectation.addExpectationResult (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:591:21)\n at Expectation.eval [as toEqual] (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1504:12)\n at Object.eval (/path/to/somethingBeingTested/__tests__/saga-test.js:21:61)\n at Object.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/jasmine-pit.js:35:32)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Spec.Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Spec.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:362:10)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2483:37)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at eval (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1901:16)\n at eval (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1845:9)\n at complete (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:374:9)\n at QueueRunner.clearStack (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:663:9)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1884:12)\n at eval (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1901:16)\n at eval (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1845:9)\n at Object.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/jasmine-pit.js:40:11)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Spec.Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Spec.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:362:10)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2483:37)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at Object.fn (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2468:13)\n at attemptAsync (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1919:24)\n at QueueRunner.run (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1874:9)\n at QueueRunner.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:1862:10)\n at Env.queueRunnerFactory (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:700:35)\n at TreeProcessor.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:2330:7)\n at Env.execute (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/vendor/jasmine-2.4.1.js:760:17)\n at jasmine2 (/anotherPath/to/node_modules/jest-cli/node_modules/jest-jasmine2/src/index.js:253:7)\n at Test.run (/anotherPath/to/node_modules/jest-cli/src/Test.js:44:12)\n at process.on.module.exports.Test.run.then.result (/anotherPath/to/node_modules/jest-cli/src/TestWorker.js:50:8)\n at handle (/anotherPath/to/node_modules/jest-cli/node_modules/worker-farm/lib/child/index.js:41:8)\n at process.<anonymous> (/anotherPath/to/node_modules/jest-cli/node_modules/worker-farm/lib/child/index.js:47:3)\n at emitTwo (events.js:87:13)\n at process.emit (events.js:172:7)\n at handleMessage (internal/child_process.js:686:10)\n at Pipe.channel.onread (internal/child_process.js:440:11)"
],
"numPassingAsserts": 0
},
{
"title": "it should loadOpportunities",
"status": "pending",
"ancestorTitles": [
"Saga middleware"
],
"failureMessages": [],
"numPassingAsserts": 0
},
{
"title": "it should handle loadOpportunities error",
"status": "passed",
"ancestorTitles": [
"Saga middleware"
],
"failureMessages": [],
"numPassingAsserts": 0
}
],
"perfStats": {
"start": 1471521616485,
"end": 1471521646077
},
"testFilePath": "/path/to/somethingBeingTested/__tests__/saga-test.js",
"coverage": {
"/path/to/somethingBeingTested/saga.js": {
"path": "/path/to/somethingBeingTested/saga.js",
"s": {
"1": 1,
"2": 1,
"3": 1,
"4": 1,
"5": 1,
"6": 1,
"7": 1,
"8": 1,
"9": 1,
"10": 1,
"11": 1,
"12": 1,
"13": 1,
"14": 1,
"15": 1,
"16": 1,
"17": 1,
"18": 0,
"19": 1,
"20": 0,
"21": 1,
"22": 1,
"23": 1,
"24": 1,
"25": 2,
"26": 2,
"27": 1,
"28": 1,
"29": 1,
"30": 1,
"31": 1,
"32": 1,
"33": 0,
"34": 0,
"35": 0,
"36": 0,
"37": 0,
"38": 0,
"39": 0,
"40": 1,
"41": 1,
"42": 1,
"43": 1,
"44": 1,
"45": 0,
"46": 1
},
"b": {
"1": [
1,
0
],
"2": [
1,
1
],
"3": [
0,
1
],
"4": [
1,
1,
0,
0,
0,
0
],
"5": [
1,
0,
0
]
},
"f": {
"1": 1,
"2": 1,
"3": 0,
"4": 1,
"5": 1,
"6": 2,
"7": 1,
"8": 1
},
"fnMap": {
"1": {
"name": "_interopRequireDefault",
"line": 33,
"loc": {
"start": {
"line": 33,
"column": 367
},
"end": {
"line": 33,
"column": 404
}
}
},
"2": {
"name": "loadOpportunities",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 76
},
"end": {
"line": 34,
"column": 117
}
}
},
"3": {
"name": "(anonymous_3)",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 427
},
"end": {
"line": 34,
"column": 447
}
}
},
"4": {
"name": "(anonymous_4)",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 473
},
"end": {
"line": 34,
"column": 490
}
}
},
"5": {
"name": "asyncFetchOpportunities",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 510
},
"end": {
"line": 34,
"column": 575
}
}
},
"6": {
"name": "asyncFetchOpportunities$",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 625
},
"end": {
"line": 34,
"column": 669
}
}
},
"7": {
"name": "fetchOpportunities",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 1372
},
"end": {
"line": 34,
"column": 1426
}
}
},
"8": {
"name": "fetchOpportunities$",
"line": 34,
"loc": {
"start": {
"line": 34,
"column": 1458
},
"end": {
"line": 34,
"column": 1498
}
},
"skip": true
}
},
"statementMap": {
"1": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 99
},
"skip": true
},
"2": {
"start": {
"line": 1,
"column": 99
},
"end": {
"line": 1,
"column": 137
}
},
"3": {
"start": {
"line": 1,
"column": 137
},
"end": {
"line": 24,
"column": 50
}
},
"4": {
"start": {
"line": 24,
"column": 75
},
"end": {
"line": 33,
"column": 40
}
},
"5": {
"start": {
"line": 33,
"column": 65
},
"end": {
"line": 33,
"column": 89
}
},
"6": {
"start": {
"line": 33,
"column": 89
},
"end": {
"line": 33,
"column": 152
}
},
"7": {
"start": {
"line": 33,
"column": 152
},
"end": {
"line": 33,
"column": 221
}
},
"8": {
"start": {
"line": 33,
"column": 221
},
"end": {
"line": 33,
"column": 287
}
},
"9": {
"start": {
"line": 33,
"column": 312
},
"end": {
"line": 33,
"column": 367
}
},
"10": {
"start": {
"line": 33,
"column": 367
},
"end": {
"line": 33,
"column": 460
}
},
"11": {
"start": {
"line": 33,
"column": 405
},
"end": {
"line": 33,
"column": 459
}
},
"12": {
"start": {
"line": 33,
"column": 460
},
"end": {
"line": 33,
"column": 549
}
},
"13": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 34,
"column": 510
}
},
"14": {
"start": {
"line": 34,
"column": 118
},
"end": {
"line": 34,
"column": 182
}
},
"15": {
"start": {
"line": 34,
"column": 182
},
"end": {
"line": 34,
"column": 227
}
},
"16": {
"start": {
"line": 34,
"column": 227
},
"end": {
"line": 34,
"column": 267
}
},
"17": {
"start": {
"line": 34,
"column": 267
},
"end": {
"line": 34,
"column": 350
}
},
"18": {
"start": {
"line": 34,
"column": 286
},
"end": {
"line": 34,
"column": 349
}
},
"19": {
"start": {
"line": 34,
"column": 350
},
"end": {
"line": 34,
"column": 508
}
},
"20": {
"start": {
"line": 34,
"column": 448
},
"end": {
"line": 34,
"column": 464
}
},
"21": {
"start": {
"line": 34,
"column": 491
},
"end": {
"line": 34,
"column": 504
}
},
"22": {
"start": {
"line": 34,
"column": 510
},
"end": {
"line": 34,
"column": 1372
}
},
"23": {
"start": {
"line": 34,
"column": 576
},
"end": {
"line": 34,
"column": 594
},
"skip": true
},
"24": {
"start": {
"line": 34,
"column": 594
},
"end": {
"line": 34,
"column": 1371
}
},
"25": {
"start": {
"line": 34,
"column": 670
},
"end": {
"line": 34,
"column": 1340
}
},
"26": {
"start": {
"line": 34,
"column": 681
},
"end": {
"line": 34,
"column": 1339
}
},
"27": {
"start": {
"line": 34,
"column": 728
},
"end": {
"line": 34,
"column": 746
}
},
"28": {
"start": {
"line": 34,
"column": 746
},
"end": {
"line": 34,
"column": 764
}
},
"29": {
"start": {
"line": 34,
"column": 764
},
"end": {
"line": 34,
"column": 856
}
},
"30": {
"start": {
"line": 34,
"column": 863
},
"end": {
"line": 34,
"column": 893
}
},
"31": {
"start": {
"line": 34,
"column": 893
},
"end": {
"line": 34,
"column": 911
}
},
"32": {
"start": {
"line": 34,
"column": 911
},
"end": {
"line": 34,
"column": 1035
}
},
"33": {
"start": {
"line": 34,
"column": 1042
},
"end": {
"line": 34,
"column": 1061
}
},
"34": {
"start": {
"line": 34,
"column": 1061
},
"end": {
"line": 34,
"column": 1067
}
},
"35": {
"start": {
"line": 34,
"column": 1074
},
"end": {
"line": 34,
"column": 1092
}
},
"36": {
"start": {
"line": 34,
"column": 1092
},
"end": {
"line": 34,
"column": 1127
}
},
"37": {
"start": {
"line": 34,
"column": 1127
},
"end": {
"line": 34,
"column": 1146
}
},
"38": {
"start": {
"line": 34,
"column": 1146
},
"end": {
"line": 34,
"column": 1296
}
},
"39": {
"start": {
"line": 34,
"column": 1315
},
"end": {
"line": 34,
"column": 1338
}
},
"40": {
"start": {
"line": 34,
"column": 1372
},
"end": {
"line": 34,
"column": 1772
}
},
"41": {
"start": {
"line": 34,
"column": 1427
},
"end": {
"line": 34,
"column": 1771
},
"skip": true
},
"42": {
"start": {
"line": 34,
"column": 1499
},
"end": {
"line": 34,
"column": 1750
},
"skip": true
},
"43": {
"start": {
"line": 34,
"column": 1510
},
"end": {
"line": 34,
"column": 1749
},
"skip": true
},
"44": {
"start": {
"line": 34,
"column": 1559
},
"end": {
"line": 34,
"column": 1706
},
"skip": true
},
"45": {
"start": {
"line": 34,
"column": 1724
},
"end": {
"line": 34,
"column": 1748
},
"skip": true
},
"46": {
"start": {
"line": 34,
"column": 1797
},
"end": {
"line": 37,
"column": 19
}
}
},
"branchMap": {
"1": {
"line": 33,
"type": "cond-expr",
"locations": [
{
"start": {
"line": 33,
"column": 436
},
"end": {
"line": 33,
"column": 439
}
},
{
"start": {
"line": 33,
"column": 442
},
"end": {
"line": 33,
"column": 458
}
}
]
},
"2": {
"line": 33,
"type": "binary-expr",
"locations": [
{
"start": {
"line": 33,
"column": 412
},
"end": {
"line": 33,
"column": 415
}
},
{
"start": {
"line": 33,
"column": 419
},
"end": {
"line": 33,
"column": 433
}
}
]
},
"3": {
"line": 34,
"type": "if",
"locations": [
{
"start": {
"line": 34,
"column": 267
},
"end": {
"line": 34,
"column": 267
}
},
{
"start": {
"line": 34,
"column": 267
},
"end": {
"line": 34,
"column": 267
}
}
]
},
"4": {
"line": 34,
"type": "switch",
"locations": [
{
"start": {
"line": 34,
"column": 721
},
"end": {
"line": 34,
"column": 856
}
},
{
"start": {
"line": 34,
"column": 856
},
"end": {
"line": 34,
"column": 1035
}
},
{
"start": {
"line": 34,
"column": 1035
},
"end": {
"line": 34,
"column": 1067
}
},
{
"start": {
"line": 34,
"column": 1067
},
"end": {
"line": 34,
"column": 1296
}
},
{
"start": {
"line": 34,
"column": 1296
},
"end": {
"line": 34,
"column": 1304
}
},
{
"start": {
"line": 34,
"column": 1304
},
"end": {
"line": 34,
"column": 1338
}
}
]
},
"5": {
"line": 34,
"type": "switch",
"locations": [
{
"start": {
"line": 34,
"column": 1552
},
"end": {
"line": 34,
"column": 1706
},
"skip": true
},
{
"start": {
"line": 34,
"column": 1706
},
"end": {
"line": 34,
"column": 1713
},
"skip": true
},
{
"start": {
"line": 34,
"column": 1713
},
"end": {
"line": 34,
"column": 1748
},
"skip": true
}
]
}
}
},
"/path/to/somethingBeingTested/__mocks__/apiRequest.js": {
"path": "/path/to/somethingBeingTested/__mocks__/apiRequest.js",
"s": {
"1": 1,
"2": 1,
"3": 1,
"4": 1,
"5": 1,
"6": 1,
"7": 1
},
"b": {
"1": [
0,
1
]
},
"f": {
"1": 1,
"2": 1,
"3": 1
},
"fnMap": {
"1": {
"name": "apiRequest",
"line": 9,
"loc": {
"start": {
"line": 9,
"column": 62
},
"end": {
"line": 9,
"column": 96
}
}
},
"2": {
"name": "(anonymous_2)",
"line": 10,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 48
}
}
},
"3": {
"name": "(anonymous_3)",
"line": 11,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 57
}
}
}
},
"statementMap": {
"1": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 99
},
"skip": true
},
"2": {
"start": {
"line": 1,
"column": 99
},
"end": {
"line": 6,
"column": 40
}
},
"3": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 15,
"column": 2
}
},
"4": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 14,
"column": 5
}
},
"5": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 12,
"column": 76
}
},
"6": {
"start": {
"line": 11,
"column": 58
},
"end": {
"line": 12,
"column": 73
},
"skip": true
},
"7": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 17,
"column": 11
},
"skip": true
}
},
"branchMap": {
"1": {
"line": 11,
"type": "cond-expr",
"locations": [
{
"start": {
"line": 11,
"column": 104
},
"end": {
"line": 11,
"column": 132
},
"skip": true
},
{
"start": {
"line": 11,
"column": 135
},
"end": {
"line": 12,
"column": 72
},
"skip": true
}
]
}
}
}
}
},
{
"numFailingTests": 0,
"numPassingTests": 3,
"numPendingTests": 0,
"testResults": [
{
"title": "it should render the correct values for the fields",
"status": "passed",
"ancestorTitles": [
"Opportunity component"
],
"failureMessages": [],
"numPassingAsserts": 0
},
{
"title": "it should render all the week maps as \"none\" if there are no timelines",
"status": "passed",
"ancestorTitles": [
"Opportunity component"
],
"failureMessages": [],
"numPassingAsserts": 0
},
{
"title": "it should render week maps with proper dates if there are production timelines",
"status": "passed",
"ancestorTitles": [
"Opportunity component"
],
"failureMessages": [],
"numPassingAsserts": 0
}
],
"perfStats": {
"start": 1471521616520,
"end": 1471521649438
},
"testFilePath": "/path/to/somethingBeingTested/__tests__/opportunity-test.js",
"coverage": {
"/path/to/somethingBeingTested/components/opportunity.js": {
"path": "/path/to/somethingBeingTested/components/opportunity.js",
"s": {
"1": 1,
"2": 1,
"3": 1,
"4": 1,
"5": 1,
"6": 1,
"7": 1,
"8": 1,
"9": 1,
"10": 1,
"11": 1,
"12": 1,
"13": 1,
"14": 1,
"15": 0,
"16": 1,
"17": 1,
"18": 1,
"19": 1,
"20": 1,
"21": 1,
"22": 1,
"23": 1,
"24": 1,
"25": 1,
"26": 1,
"27": 1,
"28": 5,
"29": 1,
"30": 3,
"31": 0,
"32": 1,
"33": 3,
"34": 0,
"35": 3,
"36": 1,
"37": 1,
"38": 0,
"39": 1,
"40": 1,
"41": 1,
"42": 1,
"43": 1,
"44": 1,
"45": 3,
"46": 3,
"47": 1,
"48": 3,
"49": 3,
"50": 2,
"51": 104,
"52": 1,
"53": 52,
"54": 52,
"55": 9,
"56": 43,
"57": 9,
"58": 34,
"59": 9,
"60": 25,
"61": 3,
"62": 1,
"63": 1,
"64": 1
},
"b": {
"1": [
1,
1
],
"2": [
1,
0
],
"3": [
1,
0
],
"4": [
0,
1
],
"5": [
2,
3
],
"6": [
5,
5
],
"7": [
0,
3
],
"8": [
0,
3
],
"9": [
0,
3
],
"10": [
3,
0,
0
],
"11": [
0,
1
],
"12": [
1,
0
],
"13": [
1,
1
],
"14": [
1,
0
],
"15": [
1,
0
],
"16": [
2,
1
],
"17": [
3,
1
],
"18": [
9,
43
],
"19": [
52,
52
],
"20": [
9,
34
],
"21": [
43,
43
],
"22": [
9,
25
],
"23": [
34,
34
],
"24": [
3,
0
],
"25": [
3,
0
],
"26": [
3,
0
],
"27": [
3,
0
],
"28": [
3,
0
],
"29": [
3,
0
]
},
"f": {
"1": 1,
"2": 1,
"3": 1,
"4": 5,
"5": 3,
"6": 3,
"7": 1,
"8": 1,
"9": 3,
"10": 3
},
"fnMap": {
"1": {
"name": "(anonymous_1)",
"line": 1,
"loc": {
"start": {
"line": 1,
"column": 118
},
"end": {
"line": 1,
"column": 130
}
}
},
"2": {
"name": "defineProperties",
"line": 1,
"loc": {
"start": {
"line": 1,
"column": 131
},
"end": {
"line": 1,
"column": 172
}
}
},
"3": {
"name": "(anonymous_3)",
"line": 1,
"loc": {
"start": {
"line": 1,
"column": 446
},
"end": {
"line": 1,
"column": 494
}
}
},
"4": {
"name": "_interopRequireDefault",
"line": 5,
"loc": {
"start": {
"line": 5,
"column": 150
},
"end": {
"line": 5,
"column": 187
}
}
},
"5": {
"name": "_classCallCheck",
"line": 5,
"loc": {
"start": {
"line": 5,
"column": 243
},
"end": {
"line": 5,
"column": 291
}
}
},
"6": {
"name": "_possibleConstructorReturn",
"line": 5,
"loc": {
"start": {
"line": 5,
"column": 392
},
"end": {
"line": 5,
"column": 440
}
}
},
"7": {
"name": "_inherits",
"line": 5,
"loc": {
"start": {
"line": 5,
"column": 627
},
"end": {
"line": 5,
"column": 668
}