diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-14 00:06:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-14 00:06:25 +0000 |
commit | a93dfc1b7e55b118b1cf4a67afeb46556292914c (patch) | |
tree | 65b874b7940d0d05c4ebedaef43b8a1009362651 /jest.config.js | |
parent | 188a57f93bba5953800de490fcc6246966a073fd (diff) | |
download | gitlab-ce-a93dfc1b7e55b118b1cf4a67afeb46556292914c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js index e4ac71a1a17..646648c6928 100644 --- a/jest.config.js +++ b/jest.config.js @@ -31,6 +31,9 @@ module.exports = { moduleNameMapper: { '^~(/.*)$': '<rootDir>/app/assets/javascripts$1', '^ee(/.*)$': '<rootDir>/ee/app/assets/javascripts$1', + '^ee_component(/.*)$': IS_EE + ? '<rootDir>/ee/app/assets/javascripts$1' + : '<rootDir>/app/assets/javascripts/vue_shared/components/empty_component.js', '^ee_else_ce(/.*)$': IS_EE ? '<rootDir>/ee/app/assets/javascripts$1' : '<rootDir>/app/assets/javascripts$1', |