fix NotificationTemplateItem test

This commit is contained in:
Keith Grant
2020-09-18 10:20:17 -07:00
parent a10f52c70e
commit 3ed05e9d9b

View File

@@ -39,7 +39,9 @@ describe('<NotificationTemplateListItem />', () => {
}); });
test('should send test notification', async () => { test('should send test notification', async () => {
NotificationTemplatesAPI.test.mockResolvedValue({}); NotificationTemplatesAPI.test.mockResolvedValue({
data: { notification: 1 },
});
const wrapper = mountWithContexts( const wrapper = mountWithContexts(
<NotificationTemplateListItem <NotificationTemplateListItem