mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
test: inject instead of deprecated TestBed get
Additionally refactor tests and ts-ignore annotations.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {SCAuthorizationProvider, SCBackendAggregationConfiguration, SCThingType} from '@openstapps/core';
|
||||
import {Polygon} from 'geojson';
|
||||
|
||||
// provides sample aggregations to be used in tests or backendless development
|
||||
export const sampleAggregations: SCBackendAggregationConfiguration[] = [
|
||||
@@ -90,7 +91,7 @@ export const sampleAuthConfiguration: {
|
||||
},
|
||||
};
|
||||
|
||||
export const sampleDefaultPolygon = {
|
||||
export const sampleDefaultPolygon: Polygon = {
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user