Skip to content

Commit 71b3d96

Browse files
fix: disable no-control-regex for tests (#60)
1 parent d52fe30 commit 71b3d96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configs/jest.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ async function getJestRecommendedConfig() {
206206
// Allow to output information in tests
207207
"no-console": "off",
208208

209+
// Allow to have any regexps in tests, useful to clean up/etc
210+
"no-control-regex": "off",
211+
209212
// Doesn't require jsdoc for tests, they are either redundant or we have a separate task for checking types of tests
210213
"jsdoc/require-jsdoc": "off",
211214
},

0 commit comments

Comments
 (0)