diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-09-06 08:18:40 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-09-06 08:18:40 +0000 |
commit | d8f24afa6a98a4b55ac4af7c0eabef63fe9fb48d (patch) | |
tree | 91c81a6f4185b8586291e537b40d5220c8c1d506 /spec/frontend/environment.js | |
parent | 913c87c6126c0f1c80f57cf82d14b1e8fbc2397d (diff) | |
download | gitlab-ce-d8f24afa6a98a4b55ac4af7c0eabef63fe9fb48d.tar.gz |
Move monitoring dashboard_spec to Jest
Diffstat (limited to 'spec/frontend/environment.js')
-rw-r--r-- | spec/frontend/environment.js | 1 |
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 = () => ({ |