Skip to content

Commit f7873fd

Browse files
committed
feat(jest): enable prefer-expect-resolves
1 parent 2cb2534 commit f7873fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

jest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const config = {
3232
'jest/prefer-called-with': 'error',
3333
// you can disable this if you use a `beforeEach` setup script,
3434
'jest/prefer-expect-assertions': 'warn',
35+
'jest/prefer-expect-resolves': 'error',
3536
'jest/prefer-hooks-on-top': 'error',
3637
'jest/prefer-lowercase-title': ['error', { ignoreTopLevelDescribe: true }],
3738
'jest/prefer-spy-on': 'error',

0 commit comments

Comments
 (0)