forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
612e71a4b6
commit
511d20eb34
245 changed files with 43884 additions and 8661 deletions
|
@ -10,9 +10,7 @@ import { Tag } from "../../../../src/Logic/Tags/Tag"
|
|||
import { DesugaringContext } from "../../../../src/Models/ThemeConfig/Conversion/Conversion"
|
||||
import { And } from "../../../../src/Logic/Tags/And"
|
||||
import { describe, expect, it } from "vitest"
|
||||
import {
|
||||
QuestionableTagRenderingConfigJson
|
||||
} from "../../../../src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson"
|
||||
import { QuestionableTagRenderingConfigJson } from "../../../../src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson"
|
||||
import Constants from "../../../../src/Models/Constants"
|
||||
import { ConversionContext } from "../../../../src/Models/ThemeConfig/Conversion/ConversionContext"
|
||||
import { MinimalTagRenderingConfigJson } from "../../../../src/Models/ThemeConfig/Json/TagRenderingConfigJson"
|
||||
|
@ -132,7 +130,7 @@ describe("PrepareTheme", () => {
|
|||
it("should remove names which are overriden with null", () => {
|
||||
const testLayer: LayerConfigJson = {
|
||||
source: {
|
||||
osmTags: { "and": ["x=y"] }
|
||||
osmTags: { and: ["x=y"] },
|
||||
},
|
||||
id: "layer-example",
|
||||
name: {
|
||||
|
@ -190,7 +188,7 @@ describe("PrepareTheme", () => {
|
|||
expect(rewritten.layers[1]).toEqual({
|
||||
_basedOn: "layer-example",
|
||||
source: {
|
||||
osmTags: { "and": ["x=y"] }
|
||||
osmTags: { and: ["x=y"] },
|
||||
},
|
||||
id: "layer-example",
|
||||
name: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue