Skip to content

Commit

Permalink
refactor(utils): support matching all variations of describe & test
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Mar 14, 2021
1 parent 62749cd commit 96fd19a
Show file tree
Hide file tree
Showing 19 changed files with 595 additions and 74 deletions.
4 changes: 4 additions & 0 deletions src/rules/__tests__/lowercase-name.test.ts
Expand Up @@ -51,6 +51,10 @@ ruleTester.run('lowercase-name', rule, {
'describe(function () {})',
'describe(``)',
'describe("")',
dedent`
describe.each()(1);
describe.each()(2);
`,
'describe(42)',
{
code: 'describe(42)',
Expand Down

0 comments on commit 96fd19a

Please sign in to comment.