Skip to content

Commit

Permalink
feat: prefer bare test and nested it (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Mar 16, 2021
1 parent e5a8f75 commit f7aaca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
rules: {
'import/no-extraneous-dependencies': 'off',

'jest/consistent-test-it': 'warn',
'jest/consistent-test-it': ['warn', { fn: 'test', withinDescribe: 'it' }],
'jest/expect-expect': 'error',
'jest/no-conditional-expect': 'error',
'jest/no-deprecated-functions': 'off',
Expand Down

0 comments on commit f7aaca9

Please sign in to comment.