Skip to content
Snippets Groups Projects
Commit 79f8f93e authored by Dirk Doesburg's avatar Dirk Doesburg
Browse files

jest tests updated

parent a985b17c
No related branches found
No related tags found
1 merge request!398"Search for Calendar events"
......@@ -33,6 +33,9 @@ Object {
exports[`calendar actions should create an action to refresh the calendar 1`] = `
Object {
"payload": Object {
"keywords": undefined,
},
"type": "CALENDAR_REFRESH",
}
`;
......@@ -3,6 +3,7 @@
exports[`calendar reducer initially should not be fetched 1`] = `
Object {
"eventList": Array [],
"keywords": undefined,
"loading": true,
"status": "initial",
}
......
......@@ -62,7 +62,7 @@ describe('calendar saga', () => {
'Content-Type': 'application/json',
},
method: 'GET',
});
}, {});
expect(apiRequest).toBeCalledWith('partners/events', {
headers: {
Accept: 'application/json',
......@@ -70,6 +70,6 @@ describe('calendar saga', () => {
'Content-Type': 'application/json',
},
method: 'GET',
});
}, {});
}));
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment