MyCrypto/spec/pages/__snapshots__/Swap.spec.tsx.snap
James Prado b7ba8ac22d Routing Improvements (#859)
* Nest Routes

* Update routing for subtabs

* Revert 'remove subtabs component'

* Update contract routes

* Update subtabs component

* Remove typo

* Update routing to handle disabled subroutes

* add disable prop to request payment tab

* Update request payment disabled condition

* Add CaptureRouteNotFound & RouteNotFound components

* Update ENS routing

* Remove any type

* Display 404 before unlocking wallet
2018-01-22 06:24:05 -06:00

106 lines
2.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`render snapshot 1`] = `
<Swap
bityOrder={Object {}}
bityOrderCreateRequestedSwap={[Function]}
bityOrderStatus={null}
bityRates={
Object {
"allIds": Array [],
"byId": Object {},
}
}
changeStepSwap={[Function]}
destination={
Object {
"amount": NaN,
"id": "ETH",
}
}
destinationAddress=""
destinationAddressSwap={[Function]}
history={
Object {
"action": "PUSH",
"block": [Function],
"createHref": [Function],
"go": [Function],
"goBack": [Function],
"goForward": [Function],
"length": 2,
"listen": [Function],
"location": Object {
"hash": "",
"key": "e08jz7",
"pathname": "/swap",
"search": "",
"state": Object {},
},
"push": [Function],
"replace": [Function],
}
}
initSwap={[Function]}
isFetchingRates={null}
isOffline={false}
isPostingOrder={false}
loadBityRatesRequestedSwap={[Function]}
loadShapeshiftRatesRequestedSwap={[Function]}
location={
Object {
"hash": "",
"key": "e08jz7",
"pathname": "/swap",
"search": "",
"state": Object {},
}
}
match={
Object {
"isExact": true,
"params": Object {},
"path": "/swap",
"url": "/swap",
}
}
options={
Object {
"allIds": Array [],
"byId": Object {},
}
}
origin={
Object {
"amount": NaN,
"id": "BTC",
}
}
outputTx={null}
paymentAddress={null}
provider="bity"
restartSwap={[Function]}
secondsRemaining={null}
shapeshiftOrder={Object {}}
shapeshiftOrderCreateRequestedSwap={[Function]}
shapeshiftOrderStatus={null}
shapeshiftRates={
Object {
"allIds": Array [],
"byId": Object {},
}
}
showNotification={[Function]}
startOrderTimerSwap={[Function]}
startPollBityOrderStatus={[Function]}
startPollShapeshiftOrderStatus={[Function]}
step={1}
stopLoadBityRatesSwap={[Function]}
stopLoadShapeshiftRatesSwap={[Function]}
stopOrderTimerSwap={[Function]}
stopPollBityOrderStatus={[Function]}
stopPollShapeshiftOrderStatus={[Function]}
swapProvider={[Function]}
/>
`;