Use improved TestBed method
This commit is contained in:
@@ -6,7 +6,7 @@ describe('ProjectService', () => {
|
||||
beforeEach(() => TestBed.configureTestingModule({}));
|
||||
|
||||
it('should be created', () => {
|
||||
const service: ProjectService = TestBed.get(ProjectService);
|
||||
const service: ProjectService = TestBed.inject(ProjectService);
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user