From 2f7f657d85990cc0f6ba922f043d7dc13f3dd2e7 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Wed, 28 Feb 2024 15:24:14 +0300 Subject: 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 Signed-off-by: Gunnar Mills --- tests/unit/__snapshots__/AppNavigation.spec.js.snap | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/unit/__snapshots__/AppNavigation.spec.js.snap b/tests/unit/__snapshots__/AppNavigation.spec.js.snap index 98628186..7ef2cd67 100644 --- a/tests/unit/__snapshots__/AppNavigation.spec.js.snap +++ b/tests/unit/__snapshots__/AppNavigation.spec.js.snap @@ -462,6 +462,15 @@ exports[`AppNavigation.vue should render correctly 1`] = ` appNavigation.powerRestorePolicy + + + appNavigation.snmpAlerts + + @@ -1132,6 +1141,15 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = ` appNavigation.powerRestorePolicy + + + appNavigation.snmpAlerts + + -- cgit v1.2.3