diff options
author | jenkins-bot <jenkins-bot@gerrit.wikimedia.org> | 2025-03-26 19:45:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2025-03-26 19:45:54 +0000 |
commit | c35fa378279862e2b71ae0e1c1372697c9059f49 (patch) | |
tree | d7cdcf6dc9bdb584dc5644754553e6db9d79bbb8 | |
parent | c792adc3b35bb045b2780d19944c118a05add5a2 (diff) | |
parent | 593e4d805ca70306c17d540f4be64f17c99aa1cc (diff) | |
download | mediawikicore-c35fa378279862e2b71ae0e1c1372697c9059f49.tar.gz mediawikicore-c35fa378279862e2b71ae0e1c1372697c9059f49.zip |
Merge "jest.config.js: limit to searching only in tests/jest"
-rw-r--r-- | tests/jest/jest.config.js | 7 |
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', |