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.
78 lines
1.4 KiB
78 lines
1.4 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`reducers formReducer should correctly resetForm 1`] = `
|
|
Object {
|
|
"amount": "0",
|
|
"formType": "pay",
|
|
"message": "",
|
|
"modalOpen": false,
|
|
"payment_request": "",
|
|
"pubkey": "",
|
|
}
|
|
`;
|
|
|
|
exports[`reducers formReducer should correctly setAmount 1`] = `
|
|
Object {
|
|
"amount": 1,
|
|
"formType": "pay",
|
|
"message": "",
|
|
"modalOpen": false,
|
|
"payment_request": "",
|
|
"pubkey": "",
|
|
}
|
|
`;
|
|
|
|
exports[`reducers formReducer should correctly setForm 1`] = `
|
|
Object {
|
|
"amount": "0",
|
|
"formType": "foo",
|
|
"message": "",
|
|
"modalOpen": true,
|
|
"payment_request": "",
|
|
"pubkey": "",
|
|
}
|
|
`;
|
|
|
|
exports[`reducers formReducer should correctly setMessage 1`] = `
|
|
Object {
|
|
"amount": "0",
|
|
"formType": "pay",
|
|
"message": "foo",
|
|
"modalOpen": false,
|
|
"payment_request": "",
|
|
"pubkey": "",
|
|
}
|
|
`;
|
|
|
|
exports[`reducers formReducer should correctly setPaymentRequest 1`] = `
|
|
Object {
|
|
"amount": "0",
|
|
"formType": "pay",
|
|
"message": "",
|
|
"modalOpen": false,
|
|
"payment_request": "foo",
|
|
"pubkey": "",
|
|
}
|
|
`;
|
|
|
|
exports[`reducers formReducer should correctly setPubkey 1`] = `
|
|
Object {
|
|
"amount": "0",
|
|
"formType": "pay",
|
|
"message": "",
|
|
"modalOpen": false,
|
|
"payment_request": "",
|
|
"pubkey": "foo",
|
|
}
|
|
`;
|
|
|
|
exports[`reducers formReducer should handle initial state 1`] = `
|
|
Object {
|
|
"amount": "0",
|
|
"formType": "pay",
|
|
"message": "",
|
|
"modalOpen": false,
|
|
"payment_request": "",
|
|
"pubkey": "",
|
|
}
|
|
`;
|
|
|