Skip to content Skip to sidebar Skip to footer
Showing posts with the label Karma Runner

Writing Karma + Mocha Tests With Both Dependency Injection And `done`?

What's the most elegant way to write Karma unit tests in mocha that both have dependency inject… Read more Writing Karma + Mocha Tests With Both Dependency Injection And `done`?

How Can I Use Html Fixtures With Karma Test Runner Using Qunit?

I'm playing with Karma test runner (http://karma-runner.github.io/0.8/index.html) using qunit (… Read more How Can I Use Html Fixtures With Karma Test Runner Using Qunit?

Karma Coverage And Babel+browserify Preprocessing

I'm using Karma to test my ES6 code. When I add karma-coverage to the mix, I need to add all th… Read more Karma Coverage And Babel+browserify Preprocessing

Karma-ng-html2js-preprocessor Not Creating Modules

Attempting to use the karma-ng-html2js-preprocessor. Karma has been finding all of my other stuff (… Read more Karma-ng-html2js-preprocessor Not Creating Modules

Typeerror: 'undefined' Is Not A Function (evaluating 'mockbackend.expectpost(

I am trying to unit test an angularjs controller with Karma, and jasmine. Here is my test suite: de… Read more Typeerror: 'undefined' Is Not A Function (evaluating 'mockbackend.expectpost(

Ui Router Extras Breaks My Unit Tests With Unexpected Results Error?

QUESTION: - Why are my tests failing when ui-router-extras (not normal ui-router) is install? - How… Read more Ui Router Extras Breaks My Unit Tests With Unexpected Results Error?

Testing Keydown Events In Jasmine With Specific Keycode

I am writing tests for an AngularJS directive which fires events of a when certain keys are presse… Read more Testing Keydown Events In Jasmine With Specific Keycode

How To Upload Karma Test Report To Sonar?

I have karma configured which gives me coverage report perfectly fine. It gives me in lcov format. … Read more How To Upload Karma Test Report To Sonar?