Skip to content

Commit

Permalink
feat(@schematics/angular): replace deprecated TestBed.get with `Tes…
Browse files Browse the repository at this point in the history
…tBed.inject`

Relates to angular/angular#32200
  • Loading branch information
alan-agius4 authored and Keen Yee Liau committed Sep 9, 2019
1 parent 366e51b commit b9c4b34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('<%= classify(name) %>Service', () => {

beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.get(<%= classify(name) %>Service);
service = TestBed.inject(<%= classify(name) %>Service);
});

it('should be created', () => {
Expand Down

0 comments on commit b9c4b34

Please sign in to comment.