gulp-karma Questions

1

I am a lazy programmer. I want to automate test case generation of my large angularjs app. Currently, I am using jasmine and karma. What I want is, to extract the module, components and methods dy...

3

Solved

I have a component with an image in template <div class="logo"><img src="../images/logo.png"/></div> When running karma task it throws such error Uncaught Error: Cannot find ...
Lunik asked 30/11, 2016 at 15:28

1

Solved

According to this post (and the general internet) if I want to run a Karma test without these kinds of code coverage commands... __cov_9C0014nbzu2SxN3FICah6Q.f['35']++; __cov_9C0014nbzu2SxN3FICah...
Elfreda asked 24/2, 2017 at 19:37

2

Solved

Karma test runs fine but exits with code 1 if 0 of 0 tests are run. Does anyone know how to return exit code 0 and normally exit in this case? Using gulp-karma which fails the task when no specs ar...
Theism asked 5/2, 2015 at 15:44

1

I am just trying out some things in my Karma config file, and have a files array set like so: files: [ '../dist/app/**/*.mock.js', '../dist/assets/scripts/bower_libs.js', '../dist/assets/scrip...
Future asked 24/6, 2015 at 15:35

1

Solved

Latest version of node and npm causing problems in running karma. When I try to install karma-cli npm i -g karma karma-cli I get following warning: npm WARN optional Skipping failed optional depen...
Megillah asked 26/2, 2016 at 6:7

3

Solved

I'm trying to setup the skeleton-navigation project for Aurelia in a new ASP.NET 5 application. I've tried numerous things and believe I'm getting close, but am really getting caught up on the clie...
Unboned asked 10/9, 2015 at 14:29

2

I am trying to run karma test via a gulp task. I use https://github.com/karma-runner/gulp-karma and for some reason gulp cannot locate my karma.conf.js. That file is located in the same folder as t...
Appendicectomy asked 5/8, 2015 at 23:39

1

Good Morning, I am having a weird issue that I cannot seem to solve. I have my Karma tests written out and the execute correctly, but when I try to wire up the code coverage for Karma it just spit...
Reprography asked 30/6, 2015 at 11:44

1

Solved

Directory structure : WebApiRole GulpFile.js test Karma.conf.js Gulp code from GulpFile.js gulp.task('test', function (done) { karma.start({ configFile: _configFile: __dirname + '\...
Highball asked 16/6, 2015 at 4:26

2

I can't make karma-ng-html2js-preprocessor working for external template. Package Json file: ..... "gulp-karma": "*", "karma-coverage": "*", "karma-jasmine": "*", "karma-ng-html2js-preproces...
Win asked 19/6, 2014 at 6:55

1

Solved

I seem to get an odd error when trying to get a project run, its seems to work fine in mac, but i am not able to get it run in Windows/ubuntu /home/nicholas/Desktop/Workspace/projectx/node_modules...
Hostel asked 13/4, 2014 at 2:52
1

© 2022 - 2024 — McMap. All rights reserved.