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

Angular Testing With Karma: "module Is Not Defined"

I know this question has been asked many times, and I know that in most cases people are missing th… Read more Angular Testing With Karma: "module Is Not Defined"

Karma And Coffescript And Code Coverage

I think something may be wrong with the Karma CoffeeScript code coverage preprocessor. Or I'm n… Read more Karma And Coffescript And Code Coverage

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

How To Deal With Thrown Errors In Async Code With Jasmine?

The following test causes Jasmine (2.3.4, run in browser via Karma) to crash and not run any subseq… Read more How To Deal With Thrown Errors In Async Code With Jasmine?

Load Local Json Into Jasmine/karma Unit Test In Angularjs

I'm testing a callback function which accepts a response object as it's only parameter. Thi… Read more Load Local Json Into Jasmine/karma Unit Test In Angularjs

Karma + Jspm + Typescript - Not Found '.ts.js'

Mainly just trying to get Karma+JSPM to play nice on loading the .ts files but having absolutely no… Read more Karma + Jspm + Typescript - Not Found '.ts.js'

How To Run A Single E2e Test With Testacular?

Testacular is really nice test runner and I like it very much. Running my unit test I noticed that … Read more How To Run A Single E2e Test With Testacular?

Loading External File From Karma/jasmine Test

I'm trying to accomplish a Jasmine test (using Karma and IntelliJ 13) to validate JSON files. I… Read more Loading External File From Karma/jasmine Test

Testing JSONP $resource AngularJS

How do I test a request being sent and data is being received with a JSONP service? angular.module(… Read more Testing JSONP $resource AngularJS

Promises With $q And Angular In Karma, Mocha & Chai

So i tried to get the promises to work in my angular app tests, can anyone figure out what im doing… Read more Promises With $q And Angular In Karma, Mocha & Chai

Javascript Code Coverage In Sonar

I am kinda newbie in using Sonar and plugins for javascript code coverage. Which are the possibili… Read more Javascript Code Coverage In Sonar