MyCrypto/spec/pages/__snapshots__/Swap.spec.tsx.snap
James Prado 9ef1920fe0 Update dropdowns, inputs, and textareas (#1169)
* Align footer to bottom

* Fix request payment offset padding

* Update request payment padding

* Add new Input and Dropdown components

* Fix offset margins in equiv vals

* Update all send tx inputs & dropdowns

* Update generate wallet dropdowns

* Update inputs & dropdowns for contracts tab

* Add inputs & dropdowns for all but swap tab

* amend

* Fix imports

* inputs are invalid when not disabled or readonly

* Fix offset refresh button

* Add togglable password back to wallet generation

* Update swap inputs, textareas, and dropdowns

* Update any outstanding inputs

* Make UnitDropDown searchable

* unitdropdown searchanble if options > 10

* Fix css issues

* Reset before setting currentTo
2018-03-01 11:53:29 -06:00

104 lines
2.1 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,
"label": "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}
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,
"label": "BTC",
}
}
outputTx={null}
paymentAddress={null}
provider="shapeshift"
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]}
/>
`;