Skip to content

Commit 2863ac2

Browse files
committed
fix(valid-expect-in-promise): rewrite rule description to be clearer
1 parent a1dced4 commit 2863ac2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rules/valid-expect-in-promise.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ export default createRule({
219219
meta: {
220220
docs: {
221221
category: 'Best Practices',
222-
description: 'Enforce having return statement when testing with promises',
222+
description:
223+
'Checks for floating promises that have expectations in their chain',
223224
recommended: 'error',
224225
},
225226
messages: {

0 commit comments

Comments
 (0)