Skip to content

Commit c857cbd

Browse files
committed
Resolving merge conflicts
1 parent 25e3630 commit c857cbd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Projects/WBS/WBSDetail/__tests__/AddTaskModal.test.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,7 @@ describe('AddTaskModal', () => {
303303
});
304304

305305
test('renders RT button when modal is open', () => {
306-
const mockStore = configureStore([]);
307-
const store = mockStore(initialState);
308-
306+
// use the thunk-enabled store from beforeEach
309307
render(
310308
<Provider store={store}>
311309
<AddTaskModal />
@@ -319,4 +317,6 @@ describe('AddTaskModal', () => {
319317
const rtBtn = screen.getByLabelText('Replicate Task');
320318
expect(rtBtn).toBeInTheDocument();
321319
});
320+
321+
322322
});

0 commit comments

Comments
 (0)