fix: breaking tests

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

View File

@ -275,6 +275,7 @@ 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(
<PreferenceContextProvider>
<PipelineListsView <PipelineListsView
setActionType={jest.fn()} setActionType={jest.fn()}
isActionMode="editing-mode" isActionMode="editing-mode"
@ -282,7 +283,8 @@ describe('PipelinePage container test', () => {
pipelineData={pipelineApiResponseMockData} pipelineData={pipelineApiResponseMockData}
isActionType="edit-pipeline" isActionType="edit-pipeline"
refetchPipelineLists={jest.fn()} refetchPipelineLists={jest.fn()}
/>, />
</PreferenceContextProvider>,
); );
// content assertion // content assertion