Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added event stub in running-data test

Benjamin24216b9a54c8
diff --git a/test/map/wv.map.runningdata-test.js b/test/map/wv.map.runningdata-test.js
index e10912a92..25f7ab811 100644
--- a/test/map/wv.map.runningdata-test.js
+++ b/test/map/wv.map.runningdata-test.js
@@ -10,11 +10,18 @@
*/
buster.testCase("wv.map.runningdata", {
-
+ models: null,
errors: null,
setUp: function() {
- this.runner = new wv.map.runningdata();
+ models = {
+ layers: {
+ events: {
+ on: this.stub()
+ }
+ }
+ };
+ this.runner = new wv.map.runningdata(models);
},
"1.0: Get Label from Palette object": function() {
var scale = {