summaryrefslogtreecommitdiffstats
path: root/ui-react/src/setupTests.js
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-07-18 17:45:34 +0200
committerxuegao <xg353y@intl.att.com>2019-07-18 17:45:34 +0200
commitd8bed32cb3f84d9cfb18332b07742701f5d57379 (patch)
tree2de9bc046a228b8b98135a1e26f2307b312c3648 /ui-react/src/setupTests.js
parent0ce38c26f68efa97f7d16ec9bbba5888982d97ba (diff)
Integrate testing framework
Integrate Jest and Enzyme testing framework. Issue-ID: CLAMP-425 Change-Id: I50427a5171c77c2d064fe5e913a46f95c4eb43bc Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/src/setupTests.js')
-rw-r--r--ui-react/src/setupTests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui-react/src/setupTests.js b/ui-react/src/setupTests.js
new file mode 100644
index 000000000..fc7b0dce1
--- /dev/null
+++ b/ui-react/src/setupTests.js
@@ -0,0 +1,4 @@
+import Enzyme from 'enzyme';
+import Adapter from 'enzyme-adapter-react-16';
+
+Enzyme.configure({ adapter: new Adapter() });