From d8bed32cb3f84d9cfb18332b07742701f5d57379 Mon Sep 17 00:00:00 2001 From: xuegao Date: Thu, 18 Jul 2019 17:45:34 +0200 Subject: Integrate testing framework Integrate Jest and Enzyme testing framework. Issue-ID: CLAMP-425 Change-Id: I50427a5171c77c2d064fe5e913a46f95c4eb43bc Signed-off-by: xuegao --- ui-react/src/setupTests.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ui-react/src/setupTests.js (limited to 'ui-react/src/setupTests.js') diff --git a/ui-react/src/setupTests.js b/ui-react/src/setupTests.js new file mode 100644 index 00000000..fc7b0dce --- /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() }); -- cgit 1.2.3-korg