forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
ff11f96e91
commit
f05a7d239e
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ import T from "./TestHelper";
|
||||||
import {InPlaceReplacedmentRTSH} from "../Logic/Osm/Actions/RelationSplitHandler";
|
import {InPlaceReplacedmentRTSH} from "../Logic/Osm/Actions/RelationSplitHandler";
|
||||||
import {OsmObject, OsmRelation} from "../Logic/Osm/OsmObject";
|
import {OsmObject, OsmRelation} from "../Logic/Osm/OsmObject";
|
||||||
import {Changes} from "../Logic/Osm/Changes";
|
import {Changes} from "../Logic/Osm/Changes";
|
||||||
import {equal} from "assert";
|
|
||||||
import {Utils} from "../Utils";
|
import {Utils} from "../Utils";
|
||||||
|
|
||||||
export default class RelationSplitHandlerSpec extends T {
|
export default class RelationSplitHandlerSpec extends T {
|
||||||
|
@ -49,7 +48,7 @@ export default class RelationSplitHandlerSpec extends T {
|
||||||
allWayIdsInOrder: [295132739, -1],
|
allWayIdsInOrder: [295132739, -1],
|
||||||
originalNodes: originalNodeIds,
|
originalNodes: originalNodeIds,
|
||||||
allWaysNodesInOrder: withSplit
|
allWaysNodesInOrder: withSplit
|
||||||
})
|
},"no-theme")
|
||||||
const changeDescription = await splitter.CreateChangeDescriptions(new Changes())
|
const changeDescription = await splitter.CreateChangeDescriptions(new Changes())
|
||||||
const allIds = changeDescription[0].changes["members"].map(m => m.ref).join(",")
|
const allIds = changeDescription[0].changes["members"].map(m => m.ref).join(",")
|
||||||
const expected = "687866206,295132739,-1,690497698"
|
const expected = "687866206,295132739,-1,690497698"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue