Remove redundant ThemeProvider from tests #25302
Annotations
7 errors
Lint JavaScript:
packages/react/src/__tests__/ActionMenu.test.tsx#L5
'theme' is defined but never used
|
Lint JavaScript:
packages/react/src/__tests__/ActionMenu.test.tsx#L668
Replace `·icon={KebabHorizontalIcon}·aria-label="Open·menu"·onClick={mockOnClick}·onKeyDown={mockOnKeyDown}` with `⏎··············icon={KebabHorizontalIcon}⏎··············aria-label="Open·menu"⏎··············onClick={mockOnClick}⏎··············onKeyDown={mockOnKeyDown}⏎···········`
|
Lint JavaScript:
packages/react/src/__tests__/AnchoredOverlay.test.tsx#L7
'BaseStyles' is defined but never used
|
Lint JavaScript:
packages/react/src/__tests__/Autocomplete.test.tsx#L8
'theme' is defined but never used
|
Lint JavaScript:
packages/react/src/__tests__/LabelGroup.test.tsx#L6
'theme' is defined but never used
|
Lint JavaScript:
packages/react/src/__tests__/LabelGroup.test.tsx#L9
Replace `(⏎··<BaseStyles>{children}</BaseStyles>⏎)` with `<BaseStyles>{children}</BaseStyles>`
|
Lint JavaScript
Process completed with exit code 1.
|
Loading