mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
test: inject instead of deprecated TestBed get
Additionally refactor tests and ts-ignore annotations.
This commit is contained in:
@@ -44,8 +44,6 @@ describe('MapProvider', () => {
|
||||
],
|
||||
});
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
configProvider.getValue.and.returnValue(sampleDefaultPolygon);
|
||||
provider = TestBed.inject(MapProvider);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user