Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
7d96fa50
Commit
7d96fa50
authored
May 24, 2018
by
Piotr Gawron
Browse files
dynamic loading of google maps API is disabled when testing in the console
parent
10e98433
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/test/js/mocha-config.js
View file @
7d96fa50
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment