gonzofish / angular-librarian

An Angular 2+ scaffolding setup for creating libraries
https://www.npmjs.com/package/angular-librarian
MIT License
91 stars 9 forks source link

Using `inject` in service tests #25

Closed gonzofish closed 7 years ago

gonzofish commented 7 years ago

Instead of using inject as the default on service tests, we should use TestBed.get(WhateverService) from within the beforeEach. Cleaner code, less typing.