summaryrefslogtreecommitdiff
path: root/jest.config.base.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-23 21:10:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-23 21:10:24 +0000
commit5838993b5f3e2d861d9dd7c82dfeea71506b9fc2 (patch)
treecaab6621fb79f06a355f802dc885982f746b544d /jest.config.base.js
parentb8d021cb606ac86f41a0ef9dacd133a9677f8414 (diff)
downloadgitlab-ce-5838993b5f3e2d861d9dd7c82dfeea71506b9fc2.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r--jest.config.base.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jest.config.base.js b/jest.config.base.js
index 939c05985f5..ffd365b9eaa 100644
--- a/jest.config.base.js
+++ b/jest.config.base.js
@@ -1,7 +1,7 @@
const IS_EE = require('./config/helpers/is_ee_env');
const isESLint = require('./config/helpers/is_eslint');
-module.exports = path => {
+module.exports = (path) => {
const reporters = ['default'];
// To have consistent date time parsing both in local and CI environments we set
@@ -27,7 +27,7 @@ module.exports = path => {
// workaround for eslint-import-resolver-jest only resolving in test files
// see https://github.com/JoinColony/eslint-import-resolver-jest#note
if (isESLint(module)) {
- testMatch = testMatch.map(path => path.replace('_spec.js', ''));
+ testMatch = testMatch.map((path) => path.replace('_spec.js', ''));
}
const TEST_FIXTURES_PATTERN = 'test_fixtures(/.*)$';