Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krasch committed Dec 18, 2024
1 parent 677024f commit 013fb77
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/componentData.map.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ test("prepareDataForMapNoActiveJourney", function () {
const j1 = journeys.addJourney([c1.id]);

const expCities = {
cityId1: { isVisible: true },
cityId2: { isVisible: true },
cityId3: { isVisible: true },
cityId1: { isVisible: true, isStop: true },
cityId2: { isVisible: true, isStop: true },
cityId3: { isVisible: true, isStop: true },
};

const expEdges = {
Expand Down Expand Up @@ -179,22 +179,27 @@ test("prepareDataForMap", function () {

const expCities = {
cityId1: {
isStop: true,
isVisible: true,
circleColor: `rgb(${getColor(0)})`,
},
cityId2: {
isStop: true,
isVisible: true,
circleColor: `rgb(${getColor(0)})`,
},
cityId3: {
isStop: true,
isVisible: true,
circleColor: `rgb(${getColor(0)})`,
},
cityId4: {
isStop: true,
isVisible: true,
circleColor: `rgb(${getColor(1)})`,
},
cityId5: {
isStop: true,
isVisible: true,
},
};
Expand Down

0 comments on commit 013fb77

Please sign in to comment.