You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2025/09/01 13:50:22 UTC
(superset) branch 5.0-extensions updated: fix: Footer test mock
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 5.0-extensions
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/5.0-extensions by this push:
new 9bb5a39ec7 fix: Footer test mock
9bb5a39ec7 is described below
commit 9bb5a39ec7170f1a9e922969500ed3975db6b00a
Author: Michael S. Molina <mi...@gmail.com>
AuthorDate: Mon Sep 1 10:50:09 2025 -0300
fix: Footer test mock
---
.../src/features/datasets/AddDataset/Footer/Footer.test.tsx | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/superset-frontend/src/features/datasets/AddDataset/Footer/Footer.test.tsx b/superset-frontend/src/features/datasets/AddDataset/Footer/Footer.test.tsx
index 029fb160a4..e6c216aa5f 100644
--- a/superset-frontend/src/features/datasets/AddDataset/Footer/Footer.test.tsx
+++ b/superset-frontend/src/features/datasets/AddDataset/Footer/Footer.test.tsx
@@ -32,6 +32,13 @@ jest.mock('src/views/CRUD/hooks', () => ({
support:
'https://superset.apache.org/docs/databases/installing-database-drivers',
}),
+ useSingleViewResource: jest.fn(() => ({
+ createResource: jest.fn(),
+ })),
+}));
+
+jest.mock('src/logger/actions', () => ({
+ logEvent: jest.fn(),
}));
const mockedProps = {