From ccdff918cb3d679e11d0ea068573e7050d80e2d3 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 4 Mar 2017 17:55:41 -0800 Subject: [PATCH] fix npm run test errors --- frontend/test/support/dom.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/test/support/dom.js b/frontend/test/support/dom.js index f344be14..af2c1bf9 100644 --- a/frontend/test/support/dom.js +++ b/frontend/test/support/dom.js @@ -18,3 +18,8 @@ function propagateToGlobal (window) { global[key] = window[key] } } + +// Metamaps dependencies fixes +global.HowlerGlobal = global.HowlerGlobal || { prototype: {} } +global.Howl = global.Howl || { prototype: {} } +global.Sound = global.Sound || { prototype: {} }