Skip to content

Commit d066841

Browse files
committed
working on ut
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
1 parent a0a2608 commit d066841

File tree

1 file changed

+3
-1
lines changed
  • public/pages/DetectorsList/containers/List/__tests__

1 file changed

+3
-1
lines changed

public/pages/DetectorsList/containers/List/__tests__/List.test.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ const renderWithRouter = (
4343
path="/detectors"
4444
render={(props: RouteComponentProps<ListRouterParams>) => (
4545
<CoreServicesContext.Provider value={coreServicesMock}>
46-
<DetectorList {...props} />
46+
<DetectorList
47+
setActionMenu={jest.fn()}
48+
{...props}/>
4749
</CoreServicesContext.Provider>
4850
)}
4951
/>

0 commit comments

Comments
 (0)