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

Tracing Errors Using Karma + Babel + Webpack With Bundles

Using karma + babel + webpack to run ES6 unit tests. I use a webpack bundle to locate and transpile… Read more Tracing Errors Using Karma + Babel + Webpack With Bundles

Expect Not Tothrow Function With Arguments - Jasmine

I have function that gets 3 arguments. I want to check that this function not throwing an error. I … Read more Expect Not Tothrow Function With Arguments - Jasmine

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`?

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'

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

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?