Closed gonzofish closed 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.
inject
TestBed.get(WhateverService)
beforeEach
Instead of using
inject
as the default on service tests, we should useTestBed.get(WhateverService)
from within thebeforeEach
. Cleaner code, less typing.