Skip to content

Commit

Permalink
Fix editor changes
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Bauer <tim.bauer@wolt.com>
  • Loading branch information
bimtauer committed Mar 1, 2024
1 parent 09f1dfb commit 10a5030
Showing 1 changed file with 34 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
import * as React from 'react';

import { ThemeProvider } from '@mui/material/styles';
import {
fireEvent,
screen,
queryAllByRole,
render,
waitFor,
getByRole,
within,
} from '@testing-library/react';
import { muiTheme } from '@clients/theme/Theme/muiTheme';
import {
QueryClient,
QueryClientProvider as QueryClientProviderImport,
QueryClientProviderProps,
} from 'react-query';
import Long from 'long';
import { RequestConfig } from '@clients/common/types/adminEntityTypes';
import { APIContext } from '../../../data/apiContext';
import { mockAPIContextValue } from '../../../data/__mocks__/apiContext';
import {
BlobDimensionality,
Identifier,
Expand All @@ -8,10 +27,18 @@ import {
Variable,
} from '../../../../models/Common/types';
import {
QueryClient,
QueryClientProvider as QueryClientProviderImport,
QueryClientProviderProps,
} from 'react-query';
createWorkflowExecution, // CreateWorkflowExecutionArguments
} from '../../../../models/Execution/api';
import { listLaunchPlans } from '../../../../models/Launch/api';
import { LaunchPlan } from '../../../../models/Launch/types';
import { getWorkflow, listWorkflows } from '../../../../models/Workflow/api';
import { Workflow } from '../../../../models/Workflow/types';
import { createMockWorkflowClosure } from '../../../../models/__mocks__/workflowData';
import { createTestQueryClient } from '../../../../test/utils';
import { WorkflowNodeExecutionsProvider } from '../../../Executions/contextProvider/NodeExecutionDetails/WorkflowNodeExecutionsProvider';
import t from '../strings';
import { LaunchForm } from '../LaunchForm';
import { LaunchFormProps } from '../types';
import {
blobType,
collectionType,
Expand All @@ -22,38 +49,10 @@ import {
unionType,
} from '../__mocks__/mockInputs';
import {
fireEvent,
getByRole,
queryAllByRole,
render,
screen,
waitFor,
within,
} from '@testing-library/react';
import { getWorkflow, listWorkflows } from '../../../../models/Workflow/api';

import { APIContext } from '../../../data/apiContext';
import { LaunchForm } from '../LaunchForm';
import { LaunchFormProps } from '../types';
import { LaunchPlan } from '../../../../models/Launch/types';
import Long from 'long';
import { RequestConfig } from '@clients/common/types/adminEntityTypes';
import { ThemeProvider } from '@mui/material/styles';
import { Workflow } from '../../../../models/Workflow/types';
import { WorkflowNodeExecutionsProvider } from '../../../Executions/contextProvider/NodeExecutionDetails/WorkflowNodeExecutionsProvider';
import { createMockObjects } from './utils';
import { createMockWorkflowClosure } from '../../../../models/__mocks__/workflowData';
import { createTestQueryClient } from '../../../../test/utils';
import {
createWorkflowExecution
} from '../../../../models/Execution/api';
import { listLaunchPlans } from '../../../../models/Launch/api';
import { mockAPIContextValue } from '../../../data/__mocks__/apiContext';
import { muiTheme } from '@clients/theme/Theme/muiTheme';
import {
// stringInputName,
stringNoLabelName,
} from './constants';
import t from '../strings';
import { createMockObjects } from './utils';
import { workflowNoInputsString } from '../constants';

const QueryClientProvider: React.FC<React.PropsWithChildren<QueryClientProviderProps>> =
Expand Down

0 comments on commit 10a5030

Please sign in to comment.