diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2019-09-11 15:08:17 -0500 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2019-09-12 08:57:43 -0500 |
commit | 5e1abf6eb56770f2c493d51c6ebcf1943e5ee0da (patch) | |
tree | 0fee9cf241d40339e973774a4be70d775eee71f8 | |
parent | 0813d1543114883e8ec84cecb5495a3cd9c1f332 (diff) | |
download | gitlab-ce-ce-fe-fix-flaky-issue-card-spec.tar.gz |
Add ee_component matcher to jest configce-fe-fix-flaky-issue-card-spec
-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', |