From c3ee2020d0bfd48c9b2a687d0f80e67190edb5d4 Mon Sep 17 00:00:00 2001 From: brunomilitzer <bruno.militzer@est.tech> Date: Thu, 3 Feb 2022 09:08:47 +0000 Subject: Added Policy Jest Tests Added more tests to increase overall coverage Issue-ID: POLICY-3899 Change-Id: I97e7954d42199145948f2ac2738a0ceaa7e6a44f Signed-off-by: brunomilitzer <bruno.militzer@est.tech> --- .../src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gui-clamp/ui-react/src/components/dialogs/Tosca') diff --git a/gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js b/gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js index d93f0b0..fd52761 100644 --- a/gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js +++ b/gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js @@ -2,8 +2,8 @@ * ============LICENSE_START======================================================= * ONAP CLAMP * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights - * reserved. + * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2022 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,7 +68,7 @@ describe('Verify ViewLoopTemplatesModal', () => { } }); }); - const component = shallow(<ViewLoopTemplatesModal/>); + shallow(<ViewLoopTemplatesModal/>); }); it('Test API Rejection', () => { @@ -78,7 +78,7 @@ describe('Verify ViewLoopTemplatesModal', () => { }), 100 ); - const component = shallow(<ViewLoopTemplatesModal/>); + shallow(<ViewLoopTemplatesModal/>); expect(myMockFunc.mock.calls.length).toBe(1); }); -- cgit