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.
54 lines
1.1 KiB
54 lines
1.1 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`reducers paymentReducer should correctly getPayments 1`] = `
|
|
Object {
|
|
"payment": null,
|
|
"paymentLoading": true,
|
|
"payments": Array [],
|
|
"sendingPayment": false,
|
|
"showSuccessPayScreen": false,
|
|
}
|
|
`;
|
|
|
|
exports[`reducers paymentReducer should correctly paymentSuccessful 1`] = `
|
|
Object {
|
|
"payment": null,
|
|
"paymentLoading": false,
|
|
"payments": Array [],
|
|
"sendingPayment": false,
|
|
"showSuccessPayScreen": false,
|
|
}
|
|
`;
|
|
|
|
exports[`reducers paymentReducer should correctly receivePayments 1`] = `
|
|
Object {
|
|
"payment": null,
|
|
"paymentLoading": false,
|
|
"payments": Array [
|
|
1,
|
|
2,
|
|
],
|
|
"sendingPayment": false,
|
|
"showSuccessPayScreen": false,
|
|
}
|
|
`;
|
|
|
|
exports[`reducers paymentReducer should correctly sendPayment 1`] = `
|
|
Object {
|
|
"payment": "foo",
|
|
"paymentLoading": false,
|
|
"payments": Array [],
|
|
"sendingPayment": false,
|
|
"showSuccessPayScreen": false,
|
|
}
|
|
`;
|
|
|
|
exports[`reducers paymentReducer should handle initial state 1`] = `
|
|
Object {
|
|
"payment": null,
|
|
"paymentLoading": false,
|
|
"payments": Array [],
|
|
"sendingPayment": false,
|
|
"showSuccessPayScreen": false,
|
|
}
|
|
`;
|
|
|