Use improved TestBed method

This commit is contained in:
Cameron Cordes
2020-03-06 16:39:59 -05:00
parent be791a244e
commit bb88437877

View File

@@ -6,7 +6,7 @@ describe('ProjectService', () => {
beforeEach(() => TestBed.configureTestingModule({})); beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => { it('should be created', () => {
const service: ProjectService = TestBed.get(ProjectService); const service: ProjectService = TestBed.inject(ProjectService);
expect(service).toBeTruthy(); expect(service).toBeTruthy();
}); });
}); });