Update PhantomJS to test Angular 1.5

TL;DR: npm install karma-phantomjs-launcher@latest phantomjs-prebuilt@latest

Updating an old project to Angular 1.5 all my tests broke or that’s what I thought when I got the Error: [$injector:modulerr] Failed to instantiate module ng due to: TypeError: ‘undefined’ is not an object (evaluating ‘Function.prototype.bind.apply’).

Continue reading

Advertisements