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 Apr 2, 2021
1 parent f758243 commit 10dd7c6
Show file tree
Hide file tree
Showing 20 changed files with 597 additions and 76 deletions.
4 changes: 4 additions & 0 deletions src/rules/__tests__/lowercase-name.test.ts
Expand Up @@ -52,6 +52,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 10dd7c6

Please sign in to comment.