Skip to content

Combination of lint + test coverage report throws #36

Open
@nkbt

Description

@nkbt

I see it pretty awkward. Same issue for concurrently

21:03 $ `npm bin`/parallelshell '`npm bin`/eslint .' '`npm bin`/karma start ./karma.conf.js --single-run --reporters coverage' -w

fs.js:691
  return binding.lstat(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory '/Users/nkbt/nkbt/react-component-template/reports/coverage/prettify.js'
    at Object.fs.lstatSync (fs.js:691:18)
    at Object.realpathSync (fs.js:1279:21)
    at executeOnFile (/Users/nkbt/nkbt/react-component-template/node_modules/eslint/lib/cli-engine.js:559:27)
    at Array.forEach (native)
    at /Users/nkbt/nkbt/react-component-template/node_modules/eslint/lib/cli-engine.js:626:49
    at Array.forEach (native)
    at CLIEngine.executeOnFiles (/Users/nkbt/nkbt/react-component-template/node_modules/eslint/lib/cli-engine.js:622:18)
    at Object.cli.execute (/Users/nkbt/nkbt/react-component-template/node_modules/eslint/lib/cli.js:159:95)
    at Object.<anonymous> (/Users/nkbt/nkbt/react-component-template/node_modules/eslint/bin/eslint.js:61:20)
    at Module._compile (module.js:456:26)
Hash: c026f8c83672b2f634d8
Version: webpack 1.12.2
Time: 5ms
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
Hash: 95583aaf2ae88eb15123
Version: webpack 1.12.2
Time: 1284ms
        Asset    Size  Chunks             Chunk Names
test/index.js  675 kB       0  [emitted]  test/index.js
chunk    {0} test/index.js (test/index.js) 605 kB [rendered]
webpack: bundle is now VALID.
27 09 2015 21:03:32.066:INFO [karma]: Karma v0.13.10 server started at http://localhost:9876/
27 09 2015 21:03:32.070:INFO [launcher]: Starting browser PhantomJS
27 09 2015 21:03:32.917:INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket lccv0AtAaeh84-jHAAAA with id 72480645
---------------|----------|----------|----------|----------|----------------|
File           |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
---------------|----------|----------|----------|----------|----------------|
 src/          |    88.89 |      100 |       50 |    66.67 |                |
  Component.js |    88.89 |      100 |       50 |    66.67 |              6 |
---------------|----------|----------|----------|----------|----------------|
All files      |    88.89 |      100 |       50 |    66.67 |                |
---------------|----------|----------|----------|----------|----------------|

Node 0.10.40

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions