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

@@ -400,7 +400,7 @@ describe('ResultSet', () => {
name: /fetch data preview/i,
}),
).toBeVisible();
expect(screen.queryByRole('table')).toBe(null);
expect(screen.queryByRole('table')).not.toBeInTheDocument();
});
test('Async queries - renders "Refetch results" button when a query has no results', () => {
@@ -429,7 +429,7 @@ describe('ResultSet', () => {
name: /refetch results/i,
}),
).toBeVisible();
expect(screen.queryByRole('table')).toBe(null);
expect(screen.queryByRole('table')).not.toBeInTheDocument();
});
test('Async queries - renders on the first call', () => {
@@ -454,12 +454,12 @@ describe('ResultSet', () => {
screen.queryByRole('button', {
name: /fetch data preview/i,
}),
).toBe(null);
).not.toBeInTheDocument();
expect(
screen.queryByRole('button', {
name: /refetch results/i,
}),
).toBe(null);
).not.toBeInTheDocument();
});
test('should allow download as CSV when user has permission to export data', async () => {