aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-11-14 01:02:04 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:22 +0800
commit7ffea926f23b2542c5182df7958defcdd9398b04 (patch)
tree81ebaea6a741402c7462736ea850d79b11b21088 /ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js
parent7f2c5c09de67a67972fcbaae254d39aac6c96f56 (diff)
downloadtangerine-wallet-browser-7ffea926f23b2542c5182df7958defcdd9398b04.tar.gz
tangerine-wallet-browser-7ffea926f23b2542c5182df7958defcdd9398b04.tar.zst
tangerine-wallet-browser-7ffea926f23b2542c5182df7958defcdd9398b04.zip
Add loading spinners when waiting for APIs in the gas customization modal
Diffstat (limited to 'ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js')
-rw-r--r--ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js b/ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js
index ba2cfe282..82c6dcd69 100644
--- a/ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js
+++ b/ui/app/components/gas-customization/gas-modal-page-container/tests/gas-modal-page-container-container.test.js
@@ -80,6 +80,7 @@ describe('gas-modal-page-container container', () => {
limit: 'aaaaaaaa',
price: 'ffffffff',
},
+ gasEstimatesLoading: false,
priceAndTimeEstimates: [
{ gasprice: 3, expectedTime: '31' },
{ gasprice: 4, expectedTime: '62' },
@@ -118,6 +119,7 @@ describe('gas-modal-page-container container', () => {
defaultActiveButtonIndex: 'mockRenderableBasicEstimateData:4ffffffff',
gasButtonInfo: 'mockRenderableBasicEstimateData:4',
},
+ gasEstimatesLoading: false,
hideBasic: true,
infoRowProps: {
originalTotalFiat: '637.41',