We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4745549 commit 98b7b67Copy full SHA for 98b7b67
configs/jest.js
@@ -212,6 +212,15 @@ async function getJestRecommendedConfig() {
212
// Allow to have any regexps in tests, useful to clean up/etc
213
"no-control-regex": "off",
214
215
+ // Allow to use any builtins, syntax and node API in tests
216
+ "n/no-unsupported-features/es-builtins": "off",
217
+ "n/no-unsupported-features/es-syntax": "off",
218
+ "n/no-unsupported-features/node-builtins": "off",
219
+
220
+ // Allow to `require` and `import` any things in tests
221
+ "n/no-unpublished-require": "off",
222
+ "n/no-unpublished-import": "off",
223
224
// Doesn't require jsdoc for tests, they are either redundant or we have a separate task for checking types of tests
225
"jsdoc/require-jsdoc": "off",
226
},
0 commit comments