Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,16 @@ function mockBootstrap() {
}
before(function() {
require('../../main/js/Functions').loadScript = function () {
global.MathJax = {
Hub: {
Config: function () {
}
}
};
return Promise.resolve();
};
Promise.longStackTraces();
mockBootstrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment