fix(tests): add missing props to SilenceModalContent

This commit is contained in:
Łukasz Mierzwa
2018-09-10 22:27:07 +01:00
parent fe16358899
commit f7d5c8a614

View File

@@ -17,12 +17,15 @@ beforeEach(() => {
silenceFormStore = new SilenceFormStore();
});
const MockOnHide = jest.fn();
const ShallowSilenceModalContent = () => {
return shallow(
<SilenceModalContent
alertStore={alertStore}
settingsStore={settingsStore}
silenceFormStore={silenceFormStore}
onHide={MockOnHide}
/>
);
};