MyCrypto/spec/pages/__snapshots__/Swap.spec.tsx.snap
William O'Beirne 4f6e83acf4 Better Offline UX (#785)
* Check offline status immediately.

* If they start the page offline, show a less severe error message.

* Get rid of offline aware header. Disable wallet options when offline.

* Add online indicator to the header.

* Prevent some components from render, some requests from firing when offline.

* Allow for array of elements with typing.

* Dont show dollars in fee summary when offline.

* Fix up saga tests.

* Fix sidebar component offline styles.

* Remove force offline.

* Dont request rates if offline.

* Nonce in advanced, show even of online.

* Show invalid advanced props.

* Fix up offline poll tests.
2018-01-11 12:04:11 -06:00

68 lines
1.5 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]}
initSwap={[Function]}
isFetchingRates={null}
isOffline={false}
isPostingOrder={false}
loadBityRatesRequestedSwap={[Function]}
loadShapeshiftRatesRequestedSwap={[Function]}
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]}
/>
`;