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

@@ -181,7 +181,7 @@ test('fetches Superset annotation layer options', async () => {
screen.getByRole('combobox', { name: 'Annotation layer value' }),
);
expect(await screen.findByText('Chart A')).toBeInTheDocument();
expect(fetchMock.calls(nativeLayerApiRoute).length).toBe(1);
expect(fetchMock.callHistory.calls(nativeLayerApiRoute).length).toBe(1);
});
test('fetches chart options', async () => {
@@ -197,7 +197,7 @@ test('fetches chart options', async () => {
screen.getByRole('combobox', { name: 'Annotation layer value' }),
);
expect(await screen.findByText('Chart A')).toBeInTheDocument();
expect(fetchMock.calls(chartApiRoute).length).toBe(1);
expect(fetchMock.callHistory.calls(chartApiRoute).length).toBe(1);
});
test('fetches chart on mount if value present', async () => {
@@ -207,7 +207,7 @@ test('fetches chart on mount if value present', async () => {
annotationType: ANNOTATION_TYPES_METADATA.EVENT.value,
sourceType: 'Table',
});
expect(fetchMock.calls(chartApiWithIdRoute).length).toBe(1);
expect(fetchMock.callHistory.calls(chartApiWithIdRoute).length).toBe(1);
});
test('keeps apply disabled when missing required fields', async () => {