Fix existing test failures

This commit is contained in:
mabashian
2019-04-23 14:55:06 -04:00
parent 38bb4f3f3c
commit f57876b6d9
8 changed files with 73 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ describe('<OrganizationNotifications />', () => {
test('initially renders succesfully', () => {
mountWithContexts(
<OrganizationNotifications />, { context: { network: {
<OrganizationNotifications canToggleNotifications />, { context: { network: {
api,
handleHttpError: () => {}
} } }
@@ -26,7 +26,7 @@ describe('<OrganizationNotifications />', () => {
});
test('handles api requests', () => {
const wrapper = mountWithContexts(
<OrganizationNotifications />, { context: { network: {
<OrganizationNotifications canToggleNotifications />, { context: { network: {
api,
handleHttpError: () => {}
} } }