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

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

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(

Babel / Karma / Chai Gives Typeerror: 'caller', 'callee', And 'arguments' Properties May Not Be Accessed On Strict Mode Functions

I having trouble figuring out why this test is not passing. var expect = require('chai').ex… Read more Babel / Karma / Chai Gives Typeerror: 'caller', 'callee', And 'arguments' Properties May Not Be Accessed On Strict Mode Functions

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

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

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

Karma-sinon-chai Fails After Moving To Windows

I have unit tests running under Karma, and am using the sinon-chai library. Everything was working … Read more Karma-sinon-chai Fails After Moving To Windows

Getting Karma Code Coverage For Pre-transpilation Source Code

I'm using Karma to run tests, webpack to bundle files, and babel for es6 -> es5 transpilatio… Read more Getting Karma Code Coverage For Pre-transpilation Source Code