You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

248 lines
4.8 KiB

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`reducers activityReducer should correctly changeFilter 1`] = `
Object {
"filter": undefined,
"filterPulldown": false,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": null,
"itemType": null,
"showCurrencyFilters": false,
},
"searchActive": false,
"searchText": "",
"showExpiredRequests": false,
}
`;
exports[`reducers activityReducer should correctly hideActivityModal 1`] = `
Object {
"filter": Object {
"key": "ALL_ACTIVITY",
"name": "All Activity",
},
"filterPulldown": false,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": null,
"itemType": null,
},
"searchActive": false,
"searchText": "",
"showExpiredRequests": false,
}
`;
exports[`reducers activityReducer should correctly setActivityModalCurrencyFilters 1`] = `
Object {
"filter": Object {
"key": "ALL_ACTIVITY",
"name": "All Activity",
},
"filterPulldown": false,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": null,
"itemType": null,
"showCurrencyFilters": undefined,
},
"searchActive": false,
"searchText": "",
"showExpiredRequests": false,
}
`;
exports[`reducers activityReducer should correctly showActivityModal 1`] = `
Object {
"filter": Object {
"key": "ALL_ACTIVITY",
"name": "All Activity",
},
"filterPulldown": false,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": undefined,
"itemType": undefined,
},
"searchActive": false,
"searchText": "",
"showExpiredRequests": false,
}
`;
exports[`reducers activityReducer should correctly togglePulldown 1`] = `
Object {
"filter": Object {
"key": "ALL_ACTIVITY",
"name": "All Activity",
},
"filterPulldown": true,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": null,
"itemType": null,
"showCurrencyFilters": false,
},
"searchActive": false,
"searchText": "",
"showExpiredRequests": false,
}
`;
exports[`reducers activityReducer should correctly updateSearchActive 1`] = `
Object {
"filter": Object {
"key": "ALL_ACTIVITY",
"name": "All Activity",
},
"filterPulldown": false,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": null,
"itemType": null,
"showCurrencyFilters": false,
},
"searchActive": undefined,
"searchText": "",
"showExpiredRequests": false,
}
`;
exports[`reducers activityReducer should correctly updateSearchText 1`] = `
Object {
"filter": Object {
"key": "ALL_ACTIVITY",
"name": "All Activity",
},
"filterPulldown": false,
"filters": Array [
Object {
"key": "ALL_ACTIVITY",
"name": "All",
},
Object {
"key": "SENT_ACTIVITY",
"name": "Sent",
},
Object {
"key": "REQUESTED_ACTIVITY",
"name": "Requested",
},
Object {
"key": "PENDING_ACTIVITY",
"name": "Pending",
},
],
"modal": Object {
"itemId": null,
"itemType": null,
"showCurrencyFilters": false,
},
"searchActive": false,
"searchText": undefined,
"showExpiredRequests": false,
}
`;