aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-01-31 05:26:37 +0800
committerThomas <tmashuang@gmail.com>2018-01-31 05:26:37 +0800
commitc2cef0f815efb5667bf9aabff125cc1a8822283c (patch)
treed2fa8be7f4b83cbad52bc0672296102046fb7972 /test/helper.js
parentb991ac0422acd509d5fd4a4ab28c2e6c4004c62f (diff)
downloadtangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.tar
tangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.tar.gz
tangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.tar.bz2
tangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.tar.lz
tangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.tar.xz
tangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.tar.zst
tangerine-wallet-browser-c2cef0f815efb5667bf9aabff125cc1a8822283c.zip
Set address to default with empty string, add test validation.
Diffstat (limited to 'test/helper.js')
-rw-r--r--test/helper.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/helper.js b/test/helper.js
index 1c5934a89..a3abbebf2 100644
--- a/test/helper.js
+++ b/test/helper.js
@@ -1,3 +1,7 @@
+import Enzyme from 'enzyme'
+import Adapter from 'enzyme-adapter-react-15'
+
+Enzyme.configure({ adapter: new Adapter() })
// disallow promises from swallowing errors
enableFailureOnUnhandledPromiseRejection()