My test runner always crashes when I use the beforeEach “inject” syntax: Argument of type…
Jim Lynch
2

This is a feature supported by Angular 2. Review your setup as this should work without any issues.

https://github.com/angular/angular/blob/master/modules/%40angular/core/testing/test_injector.ts#L111

Like what you read? Give Gerard Sans a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.