From c2f688e9805d53c07007b1d713ccecee61666b3b Mon Sep 17 00:00:00 2001 From: Julien Fabre Date: Mon, 4 Oct 2021 21:04:34 +0200 Subject: [PATCH] [GH-865] Add more tests unit to viewHeaderActionMenu (#1412) * chore[#865]: add other test unit to viewHeaderActionMenu * fix: add clearMocks Co-authored-by: Mattermod --- .../viewHeaderActionsMenu.test.tsx.snap | 220 ++++++++++++++++++ .../viewHeader/viewHeaderActionsMenu.test.tsx | 74 +++++- 2 files changed, 286 insertions(+), 8 deletions(-) diff --git a/webapp/src/components/viewHeader/__snapshots__/viewHeaderActionsMenu.test.tsx.snap b/webapp/src/components/viewHeader/__snapshots__/viewHeaderActionsMenu.test.tsx.snap index 0402f7dc9..639257522 100644 --- a/webapp/src/components/viewHeader/__snapshots__/viewHeaderActionsMenu.test.tsx.snap +++ b/webapp/src/components/viewHeader/__snapshots__/viewHeaderActionsMenu.test.tsx.snap @@ -1,5 +1,225 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`components/viewHeader/viewHeaderActionsMenu return menu and verify call to board archive 1`] = ` +
+
+