fix: breaking tests

This commit is contained in:
sawhil 2025-06-02 18:33:45 +05:30
parent 4d11cbfb75
commit c7cca308c3

View File

@ -275,14 +275,16 @@ describe('PipelinePage container test', () => {
it('should have populated form fields when edit pipeline is clicked', async () => { it('should have populated form fields when edit pipeline is clicked', async () => {
render( render(
<PipelineListsView <PreferenceContextProvider>
setActionType={jest.fn()} <PipelineListsView
isActionMode="editing-mode" setActionType={jest.fn()}
setActionMode={jest.fn()} isActionMode="editing-mode"
pipelineData={pipelineApiResponseMockData} setActionMode={jest.fn()}
isActionType="edit-pipeline" pipelineData={pipelineApiResponseMockData}
refetchPipelineLists={jest.fn()} isActionType="edit-pipeline"
/>, refetchPipelineLists={jest.fn()}
/>
</PreferenceContextProvider>,
); );
// content assertion // content assertion