Use improved TestBed method
This commit is contained in:
1 parent
be791a244e
commit
bb88437877
1 file changed
+1
-1
@@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Reference in new issue
Block a user