ES6 Dependency Injection
Here you find the complete source code for the examples in my blog post about the topic.
Running the Tests
- Ensure Node.js is installed (v6.0.0 should work);
- Install the dependencies:
$ npm install
- Run the tests:
$ npm test
Feel free to use this code as you please.