From ce0db169bce5d44ab36be7015a11c9a0205e05a1 Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Fri, 29 Oct 2021 14:24:20 +0100 Subject: Added tests to improve coverage Added new tests and snapshots Altered existing tests to bring up coverage Altered package.json in response to warning messages Removed unused functions from ControlLoopService Added json testFiles Added utils directory for out-of-component functions Issue-ID: POLICY-3643 Change-Id: I3405a4421637e63235ff5176c913a5a5f9a4a44c Signed-off-by: saul.gill --- .../dialogs/ControlLoop/testFiles/orderedStateJson.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/orderedStateJson.json (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/orderedStateJson.json') diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/orderedStateJson.json b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/orderedStateJson.json new file mode 100644 index 0000000..91c892d --- /dev/null +++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/testFiles/orderedStateJson.json @@ -0,0 +1,9 @@ +{ + "orderedState": "PASSIVE", + "controlLoopIdentifierList": [ + { + "name": "PMSH_Instance1", + "version": "2.3.1" + } + ] +} -- cgit 1.2.3-korg