summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-04-05 12:08:05 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-04-05 12:08:05 +0200
commit64e9cf00a7d889913ae7327695394cac29643f0b (patch)
tree11040832fcf150fc6722811719237100216133b1 /spec
parent94e6cc52bee1a67e830bc3f18aeb57930d0815a7 (diff)
downloadgitlab-ce-64e9cf00a7d889913ae7327695394cac29643f0b.tar.gz
Rename environment variable EE to IS_GITLAB_EEwinh-ee-environment-variable
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/test_bundle.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js
index 235a17d13b0..87ef0885d8c 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 = process.env.EE;
+window.gon.ee = process.env.IS_GITLAB_EE;
gon.relative_url_root = '';
let hasUnhandledPromiseRejections = false;
@@ -124,7 +124,7 @@ const axiosDefaultAdapter = getDefaultAdapter();
// render all of our tests
const testContexts = [require.context('spec', true, /_spec$/)];
-if (process.env.EE) {
+if (process.env.IS_GITLAB_EE) {
testContexts.push(require.context('ee_spec', true, /_spec$/));
}
@@ -213,7 +213,7 @@ if (process.env.BABEL_ENV === 'coverage') {
describe('Uncovered files', function() {
const sourceFilesContexts = [require.context('~', true, /\.(js|vue)$/)];
- if (process.env.EE) {
+ if (process.env.IS_GITLAB_EE) {
sourceFilesContexts.push(require.context('ee', true, /\.(js|vue)$/));
}