From f89f7d6e97a35576897ee413e1bfcba4baf9cbf6 Mon Sep 17 00:00:00 2001 From: Julien Fabre Date: Tue, 5 Oct 2021 04:16:14 +0200 Subject: [PATCH] [GH-862] Add tests unit for newCardButton (#1424) * chore[GH-#862]: add tests unit for newCardButton * fix: views state Co-authored-by: Mattermod --- .../__snapshots__/newCardButton.test.tsx.snap | 358 ++++++++++++++++++ .../viewHeader/newCardButton.test.tsx | 101 +++++ 2 files changed, 459 insertions(+) create mode 100644 webapp/src/components/viewHeader/__snapshots__/newCardButton.test.tsx.snap create mode 100644 webapp/src/components/viewHeader/newCardButton.test.tsx diff --git a/webapp/src/components/viewHeader/__snapshots__/newCardButton.test.tsx.snap b/webapp/src/components/viewHeader/__snapshots__/newCardButton.test.tsx.snap new file mode 100644 index 000000000..c266770dc --- /dev/null +++ b/webapp/src/components/viewHeader/__snapshots__/newCardButton.test.tsx.snap @@ -0,0 +1,358 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`components/viewHeader/newCardButton return NewCardButton 1`] = ` +
+
+
+ New +
+