aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/setupTests.js
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-03-12 19:30:22 +0100
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-03-15 16:41:08 +0000
commitb8831e5199aa0fe2bb1de531069d376182b3571d (patch)
tree9a5eb6ba206300a3ec43ba099c42302ac3707010 /ui-react/src/setupTests.js
parent396cb9b814626a0383ee49a928f4e534264170aa (diff)
Add refresh & update libs
Add refresh features to the policy list when changing it + update materials-Ui + update Json-editor libs to solve big lag in UI + Remove useless link in the menu + fix issue with build due to mariadb not started yet Issue-ID: POLICY-3131 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9bcb9558f213731a4ea8e20e186fb91c9db1b6f3
Diffstat (limited to 'ui-react/src/setupTests.js')
-rw-r--r--ui-react/src/setupTests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/setupTests.js b/ui-react/src/setupTests.js
index 55d746052..f5535835c 100644
--- a/ui-react/src/setupTests.js
+++ b/ui-react/src/setupTests.js
@@ -1,8 +1,8 @@
/*-
* ============LICENSE_START=======================================================
- * ONAP CLAMP
+ * ONAP POLICY-CLAMP
* ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights
+ * Copyright (C) 2019, 2021 AT&T Intellectual Property. All rights
* reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,7 +22,7 @@
*/
import { configure } from 'enzyme';
-import Adapter from 'enzyme-adapter-react-16';
+import Adapter from 'enzyme-adapter-react-17-updated';
configure({ adapter: new Adapter() });
global.fetch = require('jest-fetch-mock'); \ No newline at end of file