Commit 7d96fa50 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

dynamic loading of google maps API is disabled when testing in the console

parent 10e98433
...@@ -88,6 +88,16 @@ function mockBootstrap() { ...@@ -88,6 +88,16 @@ function mockBootstrap() {
} }
before(function() { before(function() {
require('../../main/js/Functions').loadScript = function () {
global.MathJax = {
Hub: {
Config: function () {
}
}
};
return Promise.resolve();
};
Promise.longStackTraces(); Promise.longStackTraces();
mockBootstrap(); mockBootstrap();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment