From d460fb8bb3e0a599d2420fd6829ecb3ca6bda047 Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Sat, 26 Dec 2020 23:47:51 +0100 Subject: [PATCH] Fix failing tests --- js/test/mapviewmodel.test.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/test/mapviewmodel.test.js b/js/test/mapviewmodel.test.js index 56d0de5..ead4678 100644 --- a/js/test/mapviewmodel.test.js +++ b/js/test/mapviewmodel.test.js @@ -336,7 +336,6 @@ describe('MapViewModel tests', () => { // given spyOn(vm, 'setSpeedStyle'); spyOn(vm, 'setAltitudeStyle'); - spyOn(vm.api, 'setTrackDefaultStyle'); const positions = [ TrackFactory.getPosition({ id: 1, latitude: 2, longitude: 3, speed: 4 }), TrackFactory.getPosition({ id: 2, latitude: 3, longitude: 4, speed: 5 }) @@ -354,7 +353,6 @@ describe('MapViewModel tests', () => { // given spyOn(vm, 'setSpeedStyle'); spyOn(vm, 'setAltitudeStyle'); - spyOn(vm.api, 'setTrackDefaultStyle'); const positions = [ TrackFactory.getPosition({ id: 1, latitude: 2, longitude: 3, speed: null }), TrackFactory.getPosition({ id: 2, latitude: 3, longitude: 4, speed: null }) @@ -372,7 +370,6 @@ describe('MapViewModel tests', () => { // given spyOn(vm, 'setSpeedStyle'); spyOn(vm, 'setAltitudeStyle'); - spyOn(vm.api, 'setTrackDefaultStyle'); const positions = [ TrackFactory.getPosition({ id: 1, latitude: 2, longitude: 3, speed: 4 }), TrackFactory.getPosition({ id: 2, latitude: 3, longitude: 4, speed: 5 }) @@ -390,7 +387,6 @@ describe('MapViewModel tests', () => { // given spyOn(vm, 'setSpeedStyle'); spyOn(vm, 'setAltitudeStyle'); - spyOn(vm.api, 'setTrackDefaultStyle'); const positions = [ TrackFactory.getPosition({ id: 1, latitude: 2, longitude: 3, altitude: 4 }), TrackFactory.getPosition({ id: 2, latitude: 3, longitude: 4, altitude: 5 }) @@ -408,7 +404,6 @@ describe('MapViewModel tests', () => { // given spyOn(vm, 'setSpeedStyle'); spyOn(vm, 'setAltitudeStyle'); - spyOn(vm.api, 'setTrackDefaultStyle'); const positions = [ TrackFactory.getPosition({ id: 1, latitude: 2, longitude: 3, speed: null }), TrackFactory.getPosition({ id: 2, latitude: 3, longitude: 4, speed: null }) @@ -426,7 +421,6 @@ describe('MapViewModel tests', () => { // given spyOn(vm, 'setSpeedStyle'); spyOn(vm, 'setAltitudeStyle'); - spyOn(vm.api, 'setTrackDefaultStyle'); const positions = [ TrackFactory.getPosition({ id: 1, latitude: 2, longitude: 3, altitude: 4 }), TrackFactory.getPosition({ id: 2, latitude: 3, longitude: 4, altitude: 5 })