Remove runningFromConsole from scripts and tests, add routeablePointScript for postal codes
This commit is contained in:
parent
5b513b1248
commit
480bb4902b
15 changed files with 99 additions and 42 deletions
|
@ -1,12 +1,9 @@
|
|||
import {Utils} from "../Utils";
|
||||
import * as Assert from "assert";
|
||||
import {equal} from "assert";
|
||||
import T from "./TestHelper";
|
||||
import {GeoOperations} from "../Logic/GeoOperations";
|
||||
import {BBox} from "../Logic/BBox";
|
||||
|
||||
Utils.runningFromConsole = true;
|
||||
|
||||
export default class GeoOperationsSpec extends T {
|
||||
|
||||
private static polygon = {
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
import {Utils} from "../Utils";
|
||||
import {equal} from "assert";
|
||||
import T from "./TestHelper";
|
||||
import {Translation} from "../UI/i18n/Translation";
|
||||
import * as bike_repair_station from "../assets/layers/bike_repair_station/bike_repair_station.json"
|
||||
import LayerConfig from "../Models/ThemeConfig/LayerConfig";
|
||||
|
||||
Utils.runningFromConsole = true;
|
||||
|
||||
export default class ImageAttributionSpec extends T {
|
||||
constructor() {
|
||||
super(
|
||||
|
|
|
@ -10,9 +10,6 @@ import {And} from "../Logic/Tags/And";
|
|||
import {TagUtils} from "../Logic/Tags/TagUtils";
|
||||
import TagRenderingConfig from "../Models/ThemeConfig/TagRenderingConfig";
|
||||
|
||||
|
||||
Utils.runningFromConsole = true;
|
||||
|
||||
export default class TagSpec extends T {
|
||||
|
||||
constructor() {
|
||||
|
|
|
@ -4,8 +4,6 @@ import * as assert from "assert";
|
|||
import {LayoutConfigJson} from "../Models/ThemeConfig/Json/LayoutConfigJson";
|
||||
import LayoutConfig from "../Models/ThemeConfig/LayoutConfig";
|
||||
|
||||
Utils.runningFromConsole = true;
|
||||
|
||||
export default class ThemeSpec extends T {
|
||||
constructor() {
|
||||
super("theme",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue