From 05c72070bb92e0b482d88921313990ce507fa682 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 5 Sep 2018 16:35:37 -0230 Subject: [PATCH] Fix assertion of missing child component --- .../send/send-content/tests/send-content-component.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7c3a2cc2d..c5a11c8bb 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 @@ -44,7 +44,7 @@ describe('SendContent Component', function () { assert(PageContainerContentChild.childAt(1).is(SendToRow)) assert(PageContainerContentChild.childAt(2).is(SendAmountRow)) assert(PageContainerContentChild.childAt(3).is(SendGasRow)) - assert.equal(PageContainerContentChild.childAt(4).html(), null) + assert.equal(PageContainerContentChild.childAt(4).exists(), false) }) }) })