aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-content/tests
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-05-10 19:37:33 +0800
committerDan <danjm.com@gmail.com>2018-05-10 21:24:43 +0800
commitf94ffa022c9f76a8d7acbf331f49a363d5e7362d (patch)
tree73c255a64657c8f6a08c6d81ae8cce376fca2598 /ui/app/components/send_/send-content/tests
parent9ccc609e567b373b5f02bddc4d1095b2ce2d6c44 (diff)
downloadtangerine-wallet-browser-f94ffa022c9f76a8d7acbf331f49a363d5e7362d.tar.gz
tangerine-wallet-browser-f94ffa022c9f76a8d7acbf331f49a363d5e7362d.tar.zst
tangerine-wallet-browser-f94ffa022c9f76a8d7acbf331f49a363d5e7362d.zip
Fix test descriptions and remove unnecessary proptypes.
Diffstat (limited to 'ui/app/components/send_/send-content/tests')
-rw-r--r--ui/app/components/send_/send-content/tests/send-content-component.test.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/components/send_/send-content/tests/send-content-component.test.js b/ui/app/components/send_/send-content/tests/send-content-component.test.js
index 785545861..d5bb6693c 100644
--- a/ui/app/components/send_/send-content/tests/send-content-component.test.js
+++ b/ui/app/components/send_/send-content/tests/send-content-component.test.js
@@ -9,7 +9,7 @@ import SendFromRow from '../send-from-row/send-from-row.container'
import SendGasRow from '../send-gas-row/send-gas-row.container'
import SendToRow from '../send-to-row/send-to-row.container'
-describe('Send Component', function () {
+describe('SendContent Component', function () {
let wrapper
beforeEach(() => {
@@ -29,10 +29,10 @@ describe('Send Component', function () {
it('should render the correct row components as grandchildren of the PageContainerContent component', () => {
const PageContainerContentChild = wrapper.find(PageContainerContent).children()
- PageContainerContentChild.childAt(0).is(SendFromRow)
- PageContainerContentChild.childAt(1).is(SendToRow)
- PageContainerContentChild.childAt(2).is(SendAmountRow)
- PageContainerContentChild.childAt(3).is(SendGasRow)
+ assert(PageContainerContentChild.childAt(0).is(SendFromRow))
+ assert(PageContainerContentChild.childAt(1).is(SendToRow))
+ assert(PageContainerContentChild.childAt(2).is(SendAmountRow))
+ assert(PageContainerContentChild.childAt(3).is(SendGasRow))
})
})
})