Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-09-06 11:18:40 +0300
committerKushal Pandya <kushalspandya@gmail.com>2019-09-06 11:18:40 +0300
commitd8f24afa6a98a4b55ac4af7c0eabef63fe9fb48d (patch)
tree91c81a6f4185b8586291e537b40d5220c8c1d506 /spec/frontend/environment.js
parent913c87c6126c0f1c80f57cf82d14b1e8fbc2397d (diff)
Move monitoring dashboard_spec to Jest
Diffstat (limited to 'spec/frontend/environment.js')
-rw-r--r--spec/frontend/environment.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/frontend/environment.js b/spec/frontend/environment.js
index 290c0e797cb..a8e42721bf0 100644
--- a/spec/frontend/environment.js
+++ b/spec/frontend/environment.js
@@ -40,6 +40,7 @@ class CustomEnvironment extends JSDOMEnvironment {
this.global.fixturesBasePath = `${ROOT_PATH}/tmp/tests/frontend/fixtures${IS_EE ? '-ee' : ''}`;
this.global.staticFixturesBasePath = `${ROOT_PATH}/spec/frontend/fixtures`;
+ this.global.IS_EE = IS_EE;
// Not yet supported by JSDOM: https://github.com/jsdom/jsdom/issues/317
this.global.document.createRange = () => ({