chore(deps-dev): bump eslint-plugin-jest-dom from 3.6.5 to 5.5.0 in /superset-frontend (#31217)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Li <joe@preset.io>
This commit is contained in:
dependabot[bot]
2024-12-20 14:45:07 -07:00
committed by GitHub
parent a275a86d12
commit ddd964e49a
21 changed files with 114 additions and 229 deletions

View File

@@ -37,14 +37,14 @@ describe('ExploreResultsButton', () => {
database: { allows_subquery: true },
});
expect(queryByText('Create Chart')).toBeTruthy();
expect(queryByText('Create Chart')).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Create Chart' })).toBeEnabled();
});
it('renders disabled if subquery not allowed', async () => {
const { queryByText } = setup(jest.fn());
expect(queryByText('Create Chart')).toBeTruthy();
expect(queryByText('Create Chart')).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Create Chart' })).toBeDisabled();
});
});