chore(deps-dev): bump fetch-mock from 11.1.5 to 12.6.0 in /superset-frontend/packages/superset-ui-core (#36662)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
dependabot[bot]
2026-01-30 21:27:35 +07:00
committed by GitHub
parent 1f43138888
commit 66519c3a85
121 changed files with 1499 additions and 1215 deletions

View File

@@ -57,7 +57,7 @@ describe('QueryAutoRefresh', () => {
});
afterEach(() => {
fetchMock.reset();
fetchMock.clearHistory().removeRoutes();
cleanup();
jest.runOnlyPendingTimers();
jest.useRealTimers();
@@ -162,7 +162,7 @@ describe('QueryAutoRefresh', () => {
expect(
store.getActions().filter(({ type }) => type === REFRESH_QUERIES),
).toHaveLength(0);
expect(fetchMock.calls(refreshApi)).toHaveLength(1);
expect(fetchMock.callHistory.calls(refreshApi)).toHaveLength(1);
});
test('Does not fail and attempts to refresh with mixed valid/invalid queries', async () => {
@@ -217,7 +217,7 @@ describe('QueryAutoRefresh', () => {
),
);
expect(fetchMock.calls(refreshApi)).toHaveLength(0);
expect(fetchMock.callHistory.calls(refreshApi)).toHaveLength(0);
});
test('logs the failed error for async queries', async () => {