In the last article, I added the ability to play a media in Echoes Player. I introduced a new reducer which holds the state of the player. In this post I want to share my views regarding communication between different components – and how using the “ngrx/store” as a state management promotes reuse of logics, less code […]
In the previous article, I wrote about how to setup karma for testing angular 1.x written with ES2015. Since then, I stumbled upon few issues while trying to test an angular 1.x component written in ES2015 according to the angular ES2015 style guide. In this post, I’m sharing how to test angular 1.x component written […]
Converting angular 1.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.
When I start a new project with angular.js today, I like to have my usual setup of running unit tests. This setup allows me to easily write testing, write the code, running the tests and making sure the process automates what’s needs to be done when any of the code or environment change. In this […]