From b6f180b643ed2d594e69befb8bf347a67e7b8599 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Wed, 23 Nov 2016 15:33:20 +0100 Subject: [PATCH] missing google maps mock functions --- frontend-js/src/test/js/google-map-mock.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend-js/src/test/js/google-map-mock.js b/frontend-js/src/test/js/google-map-mock.js index a0cfd11cf3..8c06db3b2a 100644 --- a/frontend-js/src/test/js/google-map-mock.js +++ b/frontend-js/src/test/js/google-map-mock.js @@ -114,8 +114,7 @@ var google = { } data.div = div; if (data.bounds === undefined) { - data.bounds = new google.maps.LatLngBounds(new google.maps.LatLng(10, - 10), new google.maps.LatLng(12, 12)); + data.bounds = new google.maps.LatLngBounds(new google.maps.LatLng(10, 10), new google.maps.LatLng(12, 12)); } return { @@ -233,4 +232,7 @@ var google = { } }; +google.maps.Map.prototype.fitBounds = function() { +}; + module.exports = google; -- GitLab