feat(storybook): Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) (#26907)

This commit is contained in:
Evan Rusackas
2024-02-15 07:40:17 -07:00
committed by GitHub
parent e43097329f
commit 753ef69529
233 changed files with 22456 additions and 23297 deletions

View File

@@ -198,7 +198,7 @@ test('Click on Swap dataset option', async () => {
test('Click on Edit dataset', async () => {
const props = createProps();
SupersetClientGet.mockImplementationOnce(
async () => ({ json: { result: [] } } as any),
async () => ({ json: { result: [] } }) as any,
);
render(<DatasourceControl {...props} />, {
useRedux: true,
@@ -223,7 +223,7 @@ test('Edit dataset should be disabled when user is not admin', async () => {
props.user.roles = {};
props.datasource.owners = [];
SupersetClientGet.mockImplementationOnce(
async () => ({ json: { result: [] } } as any),
async () => ({ json: { result: [] } }) as any,
);
render(<DatasourceControl {...props} />, {