My notebook of technical information to share with you. If I struggled with it or found something cool, it is documented here.
As much as I love to write code, I enjoy teaching even more. Find out where I will be speaking next and see past presentations.
Sometimes an hour long presentation won't do. You need more time and details. See my available workshops and work through them.
As I get more into Angular 2 I wanted to figure out how to unit test my Angular components. Angular 2 has unit testing built-in to the project that the Angular CLI generates. It uses Karma for the test runner and Jasmine for the testing. The Angular docs also have a really good Testing Guide.
When I tried to run the built-in test instead of finding the 3 tests, it found 0 tests. Never having used Karma before, I was unsure what the issue was or where to start troubleshooting. Luckily it turned out to be a really simple fix once I figured it out and it had to do with Chrome v55 not running the test.ts file. Read More ›