Skip to content

Commit ab1798f

Browse files
fix: disable no-console for tests (#45)
1 parent 7e04e55 commit ab1798f

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
@@ -209,6 +209,9 @@ async function getJestRecommendedConfig() {
209209
// In tests, we can have any names
210210
camelcase: "off",
211211

212+
// Allow to output information in tests
213+
"no-console": "off",
214+
212215
// Doesn't require jsdoc for tests, they are either redundant or we have a separate task for checking types of tests
213216
"jsdoc/require-jsdoc": "off",
214217
},

0 commit comments

Comments
 (0)