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.
123 lines
2.7 KiB
123 lines
2.7 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`reducers transactionReducer should correctly addTransaction 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [
|
|
undefined,
|
|
],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly getTransactions 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": true,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly hideSuccessTransactionScreen 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly receiveTransactions 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": undefined,
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly sendTransaction 1`] = `
|
|
Object {
|
|
"sendingTransaction": true,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly sendTransactions 1`] = `
|
|
Object {
|
|
"sendingTransaction": true,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly showSuccessTransactionScreen 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": true,
|
|
"txid": undefined,
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly transactionFailed 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should correctly transactionSuccessful 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|
|
exports[`reducers transactionReducer should handle initial state 1`] = `
|
|
Object {
|
|
"sendingTransaction": false,
|
|
"successTransactionScreen": Object {
|
|
"show": false,
|
|
"txid": "",
|
|
},
|
|
"transactionLoading": false,
|
|
"transactions": Array [],
|
|
}
|
|
`;
|
|
|