Proper UNIT testing

of Angular JS

with (ES6) modules

Proper UNIT testing of Angular JS with (ES6) modules

Proper testing of Angular JS applications with (ES6) modules

By Tomáš Trajan

Proper testing of Angular JS applications with (ES6) modules

Testing of Angular JS application used to be quite painful especially when using “official” solutions like Karma or Protractor. ES6 (aka ES2015, aka new Javascript release) changed this by introducing standardized module syntax. This enables us to do real unit testing of Angular JS constructs like controllers, factories or services in a very simple and fast fashion.

  • 9,424