Strider-CD / strider-blanket

8 stars 2 forks source link

Error on reports... #4

Open carlitux opened 9 years ago

carlitux commented 9 years ago

I am using morgan I think that is why is showing the first line.

Report from mocha and blanket

mocha --compilers js:babel/register -r blanket -R json-cov
GET /messages/notfound 404 1.028 ms - 9
{
  "instrumentation": "node-jscoverage",
  "sloc": 0,
  "hits": 0,
  "misses": 0,
  "coverage": 0,
  "files": [],
  "stats": {
    "suites": 2,
    "tests": 1,
    "passes": 1,
    "pending": 0,
    "failures": 0,
    "start": "2015-10-20T23:57:22.856Z",
    "end": "2015-10-20T23:57:22.962Z",
    "duration": 106
  },
  "tests": [
    {
      "duration": 38,
      "fullTitle": "Routes GET /messages/notfound should return 404",
      "title": "should return 404"
    }
  ],
  "failures": [],
  "passes": [
    {
      "duration": 38,
      "fullTitle": "Routes GET /messages/notfound should return 404",
      "title": "should return 404"
    }
  ]
}% 

Result from strider

An unexpected error occurred while executing this job. Please report at https://github.com/Strider-CD/strider/issues

coverage report not json

Error: coverage report not json
    at /usr/lib/node_modules/strider/node_modules/strider-blanket/worker.js:42:25
    at ChildProcess.<anonymous> (/usr/lib/node_modules/strider/node_modules/strider-simple-runner/node_modules/strider-runner-core/lib/job.js:203:9)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:820:12)