Skip to content

Command grunt coverage does not serve index.html with code coverage #5

@okjulian

Description

@okjulian

When I do a grunt coverage I get this:

grunt coverage
Running "karma:unit_coverage" (karma) task
INFO [karma]: Karma v0.10.4 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
INFO [Chrome 30.0.1599 (Linux)]: Connected on socket zdMgCyO0juSnnOsO9x0F
Chrome 30.0.1599 (Linux): Executed 2 of 2 SUCCESS (0.222 secs / 0.037 secs)

Running "open:coverage" (open) task

Running "connect:coverage" (connect) task
Waiting forever...
Started connect web server on 127.0.0.1:5555.

The browser opens up in localhost:5555 with this message: Cannot GET /.

The output of code coverage does get created in coverage directory, the only problem is that localhost:5555 is serving coverage/ directory, but the output is in coverage/Chrome 30.0.1599 (Linux).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions