From 85ffb63b9197c07223bfef75ae7b642637e31d86 Mon Sep 17 00:00:00 2001 From: Julien Fabre Date: Mon, 18 Oct 2021 20:53:36 +0200 Subject: [PATCH] chore[GH-#851]: Add unit tests for Gallery (#1577) Co-authored-by: Mattermod --- .../__snapshots__/gallery.test.tsx.snap | 247 ++++++++++++++++++ .../src/components/gallery/gallery.test.tsx | 126 +++++++++ 2 files changed, 373 insertions(+) create mode 100644 webapp/src/components/gallery/__snapshots__/gallery.test.tsx.snap create mode 100644 webapp/src/components/gallery/gallery.test.tsx diff --git a/webapp/src/components/gallery/__snapshots__/gallery.test.tsx.snap b/webapp/src/components/gallery/__snapshots__/gallery.test.tsx.snap new file mode 100644 index 000000000..4a3cd614e --- /dev/null +++ b/webapp/src/components/gallery/__snapshots__/gallery.test.tsx.snap @@ -0,0 +1,247 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`src/components/gallery/Gallery return Gallery and click new 1`] = ` +
+