diff options
author | Lukas Eipert <leipert@gitlab.com> | 2019-07-04 13:36:49 +0200 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2019-07-05 16:37:39 +0200 |
commit | 7ca77203c0622697123e2fdb6f377d87e3de901b (patch) | |
tree | 73b4ae76d125135e0cbca3eb521a7b2f3e15d391 /spec/javascripts/test_bundle.js | |
parent | de6c2f7033e7d856be092e3bca4cfe7a33141733 (diff) | |
download | gitlab-ce-7ca77203c0622697123e2fdb6f377d87e3de901b.tar.gz |
Replace runtime isEE check with compile time one60213-fix-is-ee-webpack-checks
This has the benefit that CE bundles will remove dead code in CE only
builds.
We have a follow-up issue to get rid of this completely:
https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
Diffstat (limited to 'spec/javascripts/test_bundle.js')
-rw-r--r-- | spec/javascripts/test_bundle.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index 2cc476ed52a..50741e249ca 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -8,7 +8,6 @@ import '~/commons'; import Vue from 'vue'; import VueResource from 'vue-resource'; import Translate from '~/vue_shared/translate'; -import CheckEE from '~/vue_shared/mixins/is_ee'; import jasmineDiff from 'jasmine-diff'; import { config as testUtilsConfig } from '@vue/test-utils'; @@ -48,7 +47,6 @@ Vue.config.errorHandler = function(err) { Vue.use(VueResource); Vue.use(Translate); -Vue.use(CheckEE); // enable test fixtures jasmine.getFixtures().fixturesPath = FIXTURES_PATH; |