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

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

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'

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

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

Don't Work $compile In Jasmine Karma Angular

(function () { 'use strict'; angular .module('app.widgets') … Read more Don't Work $compile In Jasmine Karma Angular

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

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?

Karma Tests Reporting Fast Runs, But Actually Running Slow

This is best explained with a video (or see the gif below): You'll notice that the Karma progr… Read more Karma Tests Reporting Fast Runs, But Actually Running Slow