title: Got TypeError: Cannot read property 'passes' of undefined using Cypress when generating mochawesome report
body: <p>i got confusing error, actually i don't know to how to solve a library issue like this, i tried to generate my cypress test case to mochawesome report below are my <em>package.json</em> setup file</p>
  
  <pre><code>{
  "devDependencies": {
      "cypress": "^3.1.5",
      "mocha": "^6.0.2",
      "mocha-junit-reporter": "^1.18.0",
      "mocha-multi-reporters": "^1.1.7",
      "mochawesome": "^3.1.1",
      "mochawesome-merge": "^1.0.7",
      "mochawesome-report-generator": "^3.1.5"
  }
  </code></pre>
  
  <p>i think there is nothing problem after i installed them,
  then, i do run</p>
  
  <blockquote>
    <p>cypress run --reporter mochawesome</p>
  </blockquote>
  
  <p>Then test completed, after that BOOM, i encountered error like this</p>
  
  <pre><code>TypeError: Cannot read property 'passes' of undefined
  at Spec.Base.epilogue (/Users/mac/project-cypress/node_modules/mocha/lib/reporters/base.js:318:25)
  at Object.onceWrapper (events.js:316:30)
  at emitOne (events.js:120:20)
  at Runner.emit (events.js:210:7)
  at Reporter.emit (/Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/server/lib/reporter.js:239:55)
  at Object.server.startWebsockets.onMocha (/Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/server/lib/project.js:296:22)
  at Socket.&lt;anonymous&gt; (/Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/server/lib/socket.js:237:36)
  at emitTwo (events.js:125:13)
  at Socket.emit (events.js:213:7)
  at /Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/socket/node_modules/socket.io/lib/socket.js:503:12
  at _combinedTickCallback (internal/process/next_tick.js:131:7)
  at process._tickCallback (internal/process/next_tick.js:180:9)
  
  TypeError: Cannot read property 'passes' of undefined
  at Spec.Base.epilogue (/Users/mac/project-cypress/node_modules/mocha/lib/reporters/base.js:318:25)
  at Object.onceWrapper (events.js:316:30)
  at emitOne (events.js:120:20)
  at Runner.emit (events.js:210:7)
  at Reporter.emit (/Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/server/lib/reporter.js:239:55)
  at Object.server.startWebsockets.onMocha (/Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/server/lib/project.js:296:22)
  at Socket.&lt;anonymous&gt; (/Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/server/lib/socket.js:237:36)
  at emitTwo (events.js:125:13)
  at Socket.emit (events.js:213:7)
  at /Users/mac/Library/Caches/Cypress/3.1.5/Cypress.app/Contents/Resources/app/packages/socket/node_modules/socket.io/lib/socket.js:503:12
  at _combinedTickCallback (internal/process/next_tick.js:131:7)
  at process._tickCallback (internal/process/next_tick.js:180:9)
  </code></pre>
  
  <p>this is the stacktrace i've got, did anyone know to solve this issues? </p>