testcomponentbuilder

Testing Angular 2 Components with Unit Tests and the TestComponentBuilder (RC1+)

Note – I’ve updated this article and created a new github project using angular-cli to test it. Run all tests with ng test after following instructions at https://github.com/krimple/angular2-unittest-samples-rc Testing Components In my last post, I discussed how to write tests in Angular 2 based on the new angular-testing API. We learned how to stand up … Read More