aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2018-02-01 06:18:47 +0800
committerGitHub <noreply@github.com>2018-02-01 06:18:47 +0800
commit1a93b1ade292369bff2ceecf036f856fe0b20dbb (patch)
tree2fedac9028936ba3b371873a10283b4bb5ed8e41 /test/helper.js
parent1eec2ca8c0e42fdf603f4f6b19c75f61ecbc8fc3 (diff)
parent1f8dd5f0def9856efa867c74dba71dba47433a46 (diff)
downloadtangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.tar
tangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.tar.gz
tangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.tar.bz2
tangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.tar.lz
tangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.tar.xz
tangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.tar.zst
tangerine-wallet-browser-1a93b1ade292369bff2ceecf036f856fe0b20dbb.zip
Merge pull request #3146 from MetaMask/i3082-AddTokenValidateInputs
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()