Skip to content

Commit

Permalink
fixed test, removed unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 committed Feb 16, 2017
1 parent 6dab253 commit a0cee0a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ describe('Leaflet MeasurementSupport', () => {
, msNode);
expect(cmp).toExist();
expect(L.drawLocal).toEqual(myMessages);
// restoring old value of drawLocal becasue other test would fail otherwise
// restoring old value of drawLocal because other test would fail otherwise.
// L is global so drawLocal need to be restore to default value
L.drawLocal = drawLocal;
});

Expand All @@ -78,7 +79,6 @@ describe('Leaflet MeasurementSupport', () => {
map={map}
projection={proj}
measurement={measurement}
messages={null}
changeMeasurementState={() => {}}
/>
, msNode);
Expand Down

0 comments on commit a0cee0a

Please sign in to comment.