Skip to content
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

Upgrade karma to 1.1.0 #110

Closed
lathonez opened this issue Jun 29, 2016 · 2 comments
Closed

Upgrade karma to 1.1.0 #110

lathonez opened this issue Jun 29, 2016 · 2 comments

Comments

@lathonez
Copy link
Owner

During the update to Ionic Beta .10, I tried to update karma from 0.13.22 to 1.1.0.

No tests would run after the upgrade.

Need to isolate and dig further.

@tja4472
Copy link
Contributor

tja4472 commented Jun 29, 2016

Hi

You need to replace context.html and debug.html from https://github.com/karma-runner/karma/tree/master/static.

bash-4.3$ npm test

> clicker@1.7.1 test C:\VSCode\Ionic2\github\clicker
> gulp --gulpfile test/gulpfile.ts --cwd ./ unit-test

[17:43:37] Requiring external module ts-node/register
[17:43:40] Using gulpfile C:\VSCode\Ionic2\github\clicker\test\gulpfile.ts
[17:43:40] Starting 'unit-test'...
[17:43:40] Starting 'lint'...
[17:43:40] Starting 'html'...
[17:43:41] Finished 'html' after 892 ms
[17:43:42] Finished 'lint' after 1.36 s
[17:43:42] Starting 'karma'...
decorator { '0': [Function], '1': 0, '2': true, '3': undefined }

START:
29 06 2016 17:43:59.278:INFO [framework.browserify]: bundle built
29 06 2016 17:43:59.307:INFO [karma]: Karma v1.1.0 server started at http://localhost:9876/
29 06 2016 17:43:59.308:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
29 06 2016 17:43:59.317:INFO [launcher]: Starting browser PhantomJS
29 06 2016 17:44:00.887:INFO [PhantomJS 2.1.1 (Windows 8 0.0.0)]: Connected on socket /#_RpyKcVnJKf0VphMAAAA with id 15539429
  ClickerApp
    √ initialises with two possible pages
    √ initialises with a root page

Regards
Tim

@lathonez
Copy link
Owner Author

Thanks very much Tim, closed with 1a061b7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants