diff options
author | brunomilitzer <bruno.militzer@est.tech> | 2022-02-03 09:08:47 +0000 |
---|---|---|
committer | brunomilitzer <bruno.militzer@est.tech> | 2022-02-04 11:02:15 +0000 |
commit | c3ee2020d0bfd48c9b2a687d0f80e67190edb5d4 (patch) | |
tree | 076a5f672e62d696e468f888ae61b549688a6824 /gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js | |
parent | d211be2cbad3ae4dea9dc90dcac80cccd9a510ab (diff) |
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>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js')
-rw-r--r-- | gui-clamp/ui-react/src/components/dialogs/Tosca/ViewLoopTemplatesModal.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
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); }); |