diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-12-10 13:22:05 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-12-11 13:06:19 +0100 |
commit | ca3603de56445862b47cbc9b8eec50cbf82d71c3 (patch) | |
tree | b03a11e754642fd63f9afb5866c6b712e96a3333 /config | |
parent | 5c4cf3b3a37a2b97ff578ce6a1296e8fc1774abc (diff) | |
download | gitlab-ce-ca3603de56445862b47cbc9b8eec50cbf82d71c3.tar.gz |
Move jest.config.js to root directory
Diffstat (limited to 'config')
-rw-r--r-- | config/jest.config.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/config/jest.config.js b/config/jest.config.js deleted file mode 100644 index e1b07f21555..00000000000 --- a/config/jest.config.js +++ /dev/null @@ -1,28 +0,0 @@ -/* eslint-disable filenames/match-regex */ - -const reporters = ['default']; - -if (process.env.CI) { - reporters.push([ - 'jest-junit', - { - output: './junit_jest.xml', - }, - ]); -} - -// eslint-disable-next-line import/no-commonjs -module.exports = { - testMatch: ['<rootDir>/spec/frontend/**/*_spec.js'], - moduleNameMapper: { - '^~(.*)$': '<rootDir>/app/assets/javascripts$1', - '^helpers(.*)$': '<rootDir>/spec/frontend/helpers$1', - }, - collectCoverageFrom: ['<rootDir>/app/assets/javascripts/**/*.{js,vue}'], - coverageDirectory: '<rootDir>/coverage-frontend/', - coverageReporters: ['json', 'lcov', 'text-summary', 'clover'], - cacheDirectory: '<rootDir>/tmp/cache/jest', - modulePathIgnorePatterns: ['<rootDir>/.yarn-cache/'], - reporters, - rootDir: '..', // necessary because this file is in the config/ subdirectory -}; |