Skip to content

Karma tests not running #251

@melo0187

Description

@melo0187

From what I understand angular-fullstack generates both server tests for mocha and client tests for karma. For a newly generated app - after fixing both Gruntfile.js (see #247) and karma.conf.js (see #248) - I get following error when running grunt test :

[...]
Running "karma:unit" (karma) task
INFO [karma]: Karma v0.10.10 server started at http://localhost:8080/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.7 (Linux)]: Connected on socket uyLE9920uagXDkUA7XIC
PhantomJS 1.9.7 (Linux): Executed 0 of 0 ERROR (0.149 secs / 0 secs)
Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.
[...]

It's strange to read Executed 0 of 0 since from what I understand there is a unit test. Does this mean that karma is failing to prepare test execution? How can I further investigate?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    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