From dc9e2fb051d254c149aa4321f7f5d81c46bce416 Mon Sep 17 00:00:00 2001 From: nukeop <12746779+nukeop@users.noreply.github.com> Date: Tue, 26 Jul 2022 23:45:42 +0200 Subject: [PATCH] Snapshot tests --- .../lib/components/PromotedArtist/index.tsx | 2 +- .../promotedArtist.test.tsx.snap | 127 ++++++++++++++++++ packages/ui/test/promotedArtist.test.tsx | 22 +++ 3 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 packages/ui/test/__snapshots__/promotedArtist.test.tsx.snap create mode 100644 packages/ui/test/promotedArtist.test.tsx diff --git a/packages/ui/lib/components/PromotedArtist/index.tsx b/packages/ui/lib/components/PromotedArtist/index.tsx index acb3acd382..747a70ca67 100644 --- a/packages/ui/lib/components/PromotedArtist/index.tsx +++ b/packages/ui/lib/components/PromotedArtist/index.tsx @@ -73,7 +73,7 @@ const PromotedArtist: React.FC = ({ }} /> diff --git a/packages/ui/test/__snapshots__/promotedArtist.test.tsx.snap b/packages/ui/test/__snapshots__/promotedArtist.test.tsx.snap new file mode 100644 index 0000000000..652115a856 --- /dev/null +++ b/packages/ui/test/__snapshots__/promotedArtist.test.tsx.snap @@ -0,0 +1,127 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`(Snapshot) PromotedArtist (name and description) should render correctly 1`] = ` + +