diff options
author | 2021-12-17 17:41:57 +0000 | |
---|---|---|
committer | 2022-01-04 15:51:54 +0000 | |
commit | 4be96f85c65df9384b11d68e87ca9e03e27a083c (patch) | |
tree | af178c54ace2b5d7457e3547b81cae6f4b6d5ebc /gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js | |
parent | acd025f30f0005731c9b2894cb954bd31401ab76 (diff) |
Added Jest Unit Tests
Jest Tests for creation of instance properties
Jest Tests for deletion of instance properties
Included Issue-Id: 3566
Issue-ID: POLICY-3563
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Change-Id: I227ae8f306df10ee3cc341791471dda9ca79d9d1
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js')
-rw-r--r-- | gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js index ea98073..9bc8c04 100644 --- a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js +++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/MonitorInstantiation.test.js @@ -24,9 +24,9 @@ import { act } from "react-dom/test-utils"; import { createMemoryHistory } from "history"; import MonitorInstantiation from "./MonitorInstantiation"; import ControlLoopService from "../../../api/ControlLoopService"; -import clLoopList from "./testFiles/monitoringControlLoopList.json"; +import clLoopList from "./testFiles/controlLoopList.json"; -const logSpy = jest.spyOn(console, 'error') +const logSpy = jest.spyOn(console, 'log') const history = createMemoryHistory(); describe('Verify MonitorInstantiation', () => { |