After converting Echoes Player project to use ES2015, I was searching for a comfortable way to have separate environment configurations. In this post I present the solution that works for me best.
In the previous article, I wrote about how to setup karma for testing AngularJS.x written with ES2015. Since then, I stumbled upon few issues while trying to test an AngularJS.x component written in ES2015 according to the angular ES2015 style guide. In this post, I’m sharing how to test AngularJS.x component written in ES2015.
Converting AngularJS.x code to use ES2015 is one thing. It’s an iterative process that should be taken with great care. However, aside from converting the code, you should also convert the tests to the setup environment. In this article I share the setup I use for running Echoes Player tests with karma & browserify.