NablaT / angular2gen

A simple way to learn Angular 2 with angular2gen !
37 stars 4 forks source link

Karma tests not found/executed #21

Open toms-dev opened 8 years ago

toms-dev commented 8 years ago

Hi, I'm getting the following output after a fresh generation with your tool:

$ gulp karma:dev
[15:18:37] Requiring external module babel-register
(node:31608) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[15:18:39] Using gulpfile ~/dev/mds-views/gulpfile.babel.js
[15:18:39] Starting 'karma:dev'...
12 07 2016 15:18:42.605:WARN [karma]: No captured browser, open http://localhost:9876/
12 07 2016 15:18:42.620:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
12 07 2016 15:18:42.625:INFO [launcher]: Starting browser PhantomJS
12 07 2016 15:18:44.285:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#G9X6SZtYc1LnO4ivAAAA with id 35014407

START:
PhantomJS 2.1.1 (Linux 0.0.0) ERROR: 'http://localhost:9876/base/test-main.js?8a0edd63f3b9b29a2ac29f49d119d73d08ea8777:95:99
invoke@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:323:34
run@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:216:50
http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:571:61
invokeTask@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:356:43
runTask@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:256:58
drainMicroTaskQueue@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:474:43
invoke@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:426:41
http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:93:33
invokeTask@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:356:43
runTask@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:256:58
invoke@http://localhost:9876/base/node_modules/zone.js/dist/zone.js?8b9c8d0a7e549abe9edec8da5a095f206d206277:423:41'

Finished in 0.036 secs / 0 secs

SUMMARY:
✔ 0 tests completed

=============================== Coverage summary ===============================
Statements   : 100% ( 0/0 )
Branches     : 100% ( 0/0 )
Functions    : 100% ( 0/0 )
Lines        : 100% ( 0/0 )
================================================================================

As you can see, there is 0 test completed. I have no idea why. Tell me if you need any additional information, Best regards and congrats for your generator!

martijnplaat commented 7 years ago

Somebody already got an answer on this one? I have the same issue.