Skip to content

Commit 9b98e49

Browse files
fix: allow to use eval in tests (#62)
1 parent 4607d8f commit 9b98e49

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 use `eval` for tests
210+
"no-eval": "off",
211+
209212
// Allow to have any regexps in tests, useful to clean up/etc
210213
"no-control-regex": "off",
211214

0 commit comments

Comments
 (0)