Skip to content

Commit 2cdafb7

Browse files
committed
refactor(await-async-query): improve error message
1 parent 9447804 commit 2cdafb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rules/await-async-query.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export default createTestingLibraryRule<Options, MessageIds>({
5050
recommended: 'warn',
5151
},
5252
messages: {
53-
awaitAsyncQuery: '`{{ name }}` must have `await` operator',
53+
awaitAsyncQuery:
54+
'`{{ name }}` query is async but returned promise is unhandled',
5455
},
5556
fixable: null,
5657
schema: [],

0 commit comments

Comments
 (0)