Skip to content

Commit bb8370b

Browse files
committed
tests: dont search tests in testbeds
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 8923e0c commit bb8370b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

jest.config.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ module.exports = {
9898
// moduleNameMapper: {},
9999

100100
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
101-
// modulePathIgnorePatterns: [],
101+
modulePathIgnorePatterns: [
102+
'<rootDir>/tests/_testbeds/',
103+
],
102104

103105
// Activates notifications for test results
104106
// notify: false,
@@ -131,7 +133,7 @@ module.exports = {
131133
// restoreMocks: false,
132134

133135
// The root directory that Jest should scan for tests and modules within
134-
// rootDir: undefined,
136+
// rootDir: undefined,,
135137

136138
// A list of paths to directories that Jest should use to search for files in
137139
roots: [
@@ -169,9 +171,10 @@ module.exports = {
169171
],
170172

171173
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
172-
// testPathIgnorePatterns: [
173-
// "/node_modules/"
174-
// ],
174+
testPathIgnorePatterns: [
175+
'/node_modules/',
176+
'<rootDir>/tests/_testbeds/',
177+
],
175178

176179
// The regexp pattern or array of patterns that Jest uses to detect test files
177180
// testRegex: [],

0 commit comments

Comments
 (0)