aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2025-03-26 19:45:54 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2025-03-26 19:45:54 +0000
commitc35fa378279862e2b71ae0e1c1372697c9059f49 (patch)
treed7cdcf6dc9bdb584dc5644754553e6db9d79bbb8
parentc792adc3b35bb045b2780d19944c118a05add5a2 (diff)
parent593e4d805ca70306c17d540f4be64f17c99aa1cc (diff)
downloadmediawikicore-c35fa378279862e2b71ae0e1c1372697c9059f49.tar.gz
mediawikicore-c35fa378279862e2b71ae0e1c1372697c9059f49.zip
Merge "jest.config.js: limit to searching only in tests/jest"
-rw-r--r--tests/jest/jest.config.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/jest/jest.config.js b/tests/jest/jest.config.js
index 08246460d9b8..bb63bd3aaceb 100644
--- a/tests/jest/jest.config.js
+++ b/tests/jest/jest.config.js
@@ -118,9 +118,10 @@ module.exports = {
rootDir: '../../',
// A list of paths to directories that Jest should use to search for files in
- // roots: [
- // '<rootDir>'
- // ],
+ roots: [
+ '<rootDir>/resources/src/mediawiki.special.block',
+ '<rootDir>/tests/jest'
+ ],
// Allows you to use a custom runner instead of Jest's default test runner
// runner: 'jest-runner',