Great article Tomas. I’m refactoring an Angular app to use Webpack and CommonJS modules and this way of testing could lend itself nicely to that as well. I share all of your frustrations with Karma and too much Angular idiosyncrasies in unit tests.
I was looking through your repo, but didn’t see any way to test directives using this modular method. I was wondering if you had any thoughts on how to do that without too much Angular jargon in tests?