Skip to content

Commit 06b437c

Browse files
committed
test(no-await-sync-query): increase code coverage up to 100%
1 parent cac6670 commit 06b437c

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
@@ -93,6 +93,10 @@ ruleTester.run(RULE_NAME, rule, {
9393
const foo = getAllByLabelText
9494
})
9595
`,
96+
97+
`// edge case for coverage: CallExpression without deepest Identifier
98+
await someList[0]();
99+
`,
96100
],
97101

98102
invalid: [

0 commit comments

Comments
 (0)