Skip to content

Commit 4aac75d

Browse files
committed
chore: require await for events to fix eslint
1 parent 4232ab4 commit 4aac75d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ module.exports = {
1212
'testing-library/no-dom-import': 'off',
1313
'testing-library/prefer-screen-queries': 'off',
1414
'testing-library/no-manual-cleanup': 'off',
15+
'testing-library/no-await-sync-events': 'off',
16+
'testing-library/await-fire-event': 'error',
1517
},
1618
}

0 commit comments

Comments
 (0)