Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
snowystinger committed Sep 16, 2024
1 parent a9949fd commit cbdde6f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions packages/react-aria-components/test/AriaMenu.test-util.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,28 @@ import {
import {User} from '@react-aria/test-utils';
import userEvent from '@testing-library/user-event';

let describeInteractions = (name, tests) => describe.each`
let describeInteractions = ((name, tests) => describe.each`
interactionType
${'mouse'}
${'keyboard'}
${'touch'}
`(`${name} - $interactionType`, tests);
describeInteractions.only = (name, tests) => describe.only.each`
`(`${name} - $interactionType`, tests));

// @ts-ignore
describeInteractions.only = ((name, tests) => describe.only.each`
interactionType
${'mouse'}
${'keyboard'}
${'touch'}
`(`${name} - $interactionType`, tests));

// @ts-ignore
describeInteractions.skip = ((name, tests) => describe.skip.each`
interactionType
${'mouse'}
${'keyboard'}
${'touch'}
`(`${name} - $interactionType`, tests);
`(`${name} - $interactionType`, tests));

let triggerText = 'Menu Button';

Expand Down

0 comments on commit cbdde6f

Please sign in to comment.