summaryrefslogtreecommitdiffstats
path: root/scripts/test/setupTests.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/setupTests.js')
-rw-r--r--scripts/test/setupTests.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/test/setupTests.js b/scripts/test/setupTests.js
new file mode 100644
index 0000000..7237dc9
--- /dev/null
+++ b/scripts/test/setupTests.js
@@ -0,0 +1,5 @@
+import { configure } from 'enzyme';
+import Adapter from 'enzyme-adapter-react-15';
+import 'jest-enzyme';
+
+configure({ adapter: new Adapter() });