Correct AppNavigation snapshot to pass unit tests
The commit "Add SNMP alerts page and test hooks"
(7c1cfe7e25957fc915fc9790bdf78887295b1fee) has added a new page to the
navigation, but didn't change the shanpshot. As a result this broke the
unit tests.
Perform "npx jest --updateSnapshot" to automatically correct the
AppNavigation snapshot.
Tested: Did npm run test:unit and it passed.
Change-Id: I9f9dbf235013d8736d958d5c8d19eb3d75c575ba
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/tests/unit/__snapshots__/AppNavigation.spec.js.snap b/tests/unit/__snapshots__/AppNavigation.spec.js.snap
index 9862818..7ef2cd6 100644
--- a/tests/unit/__snapshots__/AppNavigation.spec.js.snap
+++ b/tests/unit/__snapshots__/AppNavigation.spec.js.snap
@@ -462,6 +462,15 @@
appNavigation.powerRestorePolicy
</a>
+ <a
+ class="nav-link"
+ data-test-id="nav-item-snmp-alerts"
+ href="#/settings/snmp-alerts"
+ >
+
+ appNavigation.snmpAlerts
+
+ </a>
</li>
</ul>
</transition-stub>
@@ -1132,6 +1141,15 @@
appNavigation.powerRestorePolicy
</a>
+ <a
+ class="nav-link"
+ data-test-id="nav-item-snmp-alerts"
+ href="#/settings/snmp-alerts"
+ >
+
+ appNavigation.snmpAlerts
+
+ </a>
</li>
</ul>
</transition-stub>