mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
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:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user