Back to Overview
Article list for karma
Mocking, stubbing and strategies for dependency injection are often overly complex parts of the JavaScript test code we have to write. But they help us isolate the unit that we want to test. In this article I look at using proxyquire
and proxyquireify
.
Using the mighty Karma as a test runner for non-Angular projects from scratch, highlighting a couple of common errors.