Skip to content

Commit e6560cd

Browse files
committed
test: add a few more cases
1 parent 7d0cb61 commit e6560cd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/rules/__tests__/prefer-lowercase-title.test.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,18 @@ ruleTester.run('prefer-lowercase-title with ignoreTodos', rule, {
657657
code: 'it.todo(`Foo`, function () {})',
658658
options: [{ ignoreTodos: true }],
659659
},
660+
{
661+
code: 'it.todo("Foo", () => {})',
662+
options: [{ ignoreTodos: true }],
663+
},
664+
{
665+
code: 'it.only.todo("Foo", () => {})',
666+
options: [{ ignoreTodos: true }],
667+
},
668+
{
669+
code: 'it.todo.only("Foo", () => {})',
670+
options: [{ ignoreTodos: true }],
671+
},
660672
],
661673
invalid: [
662674
{

0 commit comments

Comments
 (0)