-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting 0 tests completed after running clicker #178
Comments
Please confirm you have performed the following steps:
|
yes |
still same |
paste the output of the following:
|
please check above screenshot |
Should be fine I think. Does |
yes it's working fine when i run npm start , I am new to karma and jasmine for ionic 2 . |
@lathonez Hi, please update me if you have found anything |
Nothing concrete, sorry. Try:
After you've done that:
and these steps again. If you want to try to debug it yourself, you need to figure out why no specs are being found. This line here: https://github.com/lathonez/clicker/blob/master/src/test.ts#L36 is a good starting point |
ok |
BEFORE you do that, can you paste the entire output of Please copy and paste (no screenshot). |
ok |
@lholznagel I have updated node to 6.5.0 , Typescript is already 2.0.7 and installed node modules again. still same |
before Upgrading Node
22 11 2016 14:51:02.051:WARN [karma]: No captured browser, open http://localhost:9876/ START: Finished in 0.002 secs / 0 secs SUMMARY: |
Apply this diff for debug: diff --git a/src/test.ts b/src/test.ts
index d12d17f..ca87bd3 100644
--- a/src/test.ts
+++ b/src/test.ts
@@ -33,7 +33,7 @@ Promise.all([
);
})
// Then we find all the tests.
- .then(() => require.context('./', true, /\.spec\.ts/))
+ .then(() => require.context('./pages/page2/'))
// And load the modules.
.then(context => context.keys().map(context))
// Finally, start Karma to run the tests. run again and paste the output |
ok |
Apply the diff and paste the output of npm test. On 22 Nov 2016 22:05, "ronaksbhavsar" notifications@github.com wrote:
|
Still same
22 11 2016 16:43:39.118:WARN [karma]: No captured browser, open http://localhost:9876/ START: Finished in 0.002 secs / 0 secs SUMMARY: |
try using ng-cli directly:
|
@lathonez can you please help me out from this issue? |
Hi @lathonez , Microsoft Windows [Version 10.0.14393] E:\CLI-testProject>ng test |
it's working fine in mac. i have tested it |
it's working fine it was throwing an exception in debugger |
thanks for your support |
I am away currently away. Will pick this up when I return. Sometime mid
December.
On 25 Nov 2016 19:08, "ronaksbhavsar" <notifications@github.com> wrote:
angular/angular-cli#2125
<angular/angular-cli#2125>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#178 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AG5tSKeDvejaCD1zsIPZTTudC0x9YHU2ks5rBsG2gaJpZM4K5Jmc>
.
|
Hi, It's been Resolved |
Can you tell us what you did to resolve it? |
For the lazy in karma.conf.js : |
@andrewgy8 - should I be adding this to karma.conf.js? |
I had the same issue as @ronaksbhavsar, and that seemed to do the trick. Edit: Yes. |
5c0ffeb (will push in a bit) |
yes, you should add |
@lathonez Why you blocked me into gitter into 'clicker ' room? |
I removed the room, no one uses it. |
@lathonez ok, can i comment here for issues? |
@lathonez Actually i want to debug protractor, do you know how to debug through visual studio code? |
I can confirm that the mime type setting in karma already there in my 2 projects, one working and the other don't is not the solution. I am thinking in something related with the libraries versions from angular saying 4.1.2, working one had 4.1.1 and after upgrade failing, it got 4.1.3 that is working properly. Unfortunatly from the yarn upgrade I can't reproduce it now, both project have testing working properly.
Hope this helps. Regards |
The text was updated successfully, but these errors were encountered: