From f64a639bcfa1fc2bc89ca7db268f594306edfd7c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 16 Mar 2021 18:18:33 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-10-stable-ee --- jest.config.base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jest.config.base.js') diff --git a/jest.config.base.js b/jest.config.base.js index 98c70735d92..4e9b84d1d34 100644 --- a/jest.config.base.js +++ b/jest.config.base.js @@ -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((modulePath) => modulePath.replace('_spec.js', '')); } const TEST_FIXTURES_PATTERN = 'test_fixtures(/.*)$'; -- cgit v1.2.1