Skip to content

Commit 4279c72

Browse files
committed
test(no-await-sync-query): check error location in invalid cases
1 parent 501f604 commit 4279c72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/lib/rules/no-await-sync-query.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ ruleTester.run(RULE_NAME, rule, {
4646
errors: [
4747
{
4848
messageId: 'noAwaitSyncQuery',
49+
line: 2,
50+
column: 15,
4951
},
5052
],
5153
})),
@@ -59,6 +61,8 @@ ruleTester.run(RULE_NAME, rule, {
5961
errors: [
6062
{
6163
messageId: 'noAwaitSyncQuery',
64+
line: 2,
65+
column: 22,
6266
},
6367
],
6468
})),

0 commit comments

Comments
 (0)