summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-13 22:57:39 +0100
committerWinnie Hellmann <winnie@gitlab.com>2019-03-13 22:57:39 +0100
commit0b5d8b9a838a48e119541a39a3f5a32e0a72411a (patch)
treefbd59aec64a4ff09026e2779ef09c8666122c6a5 /spec/javascripts
parent2ea8ebfad5c22d53aad2df1228d97a1f53c15947 (diff)
downloadgitlab-ce-0b5d8b9a838a48e119541a39a3f5a32e0a72411a.tar.gz
Use flag provided from Webpack to mock gon.ee
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/test_bundle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js
index d736bc93d70..235a17d13b0 100644
--- a/spec/javascripts/test_bundle.js
+++ b/spec/javascripts/test_bundle.js
@@ -69,7 +69,7 @@ window.gl = window.gl || {};
window.gl.TEST_HOST = TEST_HOST;
window.gon = window.gon || {};
window.gon.test_env = true;
-window.gon.ee = false;
+window.gon.ee = process.env.EE;
gon.relative_url_root = '';
let hasUnhandledPromiseRejections = false;