mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore(lint): migrate Jest lint rules from eslint to oxlint (#37787)
Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ describe('OptionDescription', () => {
|
||||
render(<OptionDescription {...props} />);
|
||||
});
|
||||
|
||||
it('renders an InfoTooltip', () => {
|
||||
test('renders an InfoTooltip', () => {
|
||||
const tooltipTrigger = screen.getByLabelText('Show info tooltip');
|
||||
expect(tooltipTrigger).toBeInTheDocument();
|
||||
|
||||
@@ -55,7 +55,7 @@ describe('OptionDescription', () => {
|
||||
expect(tooltip).toHaveTextContent('Description for some option');
|
||||
});
|
||||
|
||||
it('renders a span with the label', () => {
|
||||
test('renders a span with the label', () => {
|
||||
expect(
|
||||
screen.getByText('Some option', { selector: 'span' }),
|
||||
).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user