From d39800892b9290ce4db500f1e79d8d84713490f9 Mon Sep 17 00:00:00 2001 From: Zara Mudassar <zara.1310@hotmail.com> Date: Mon, 2 May 2022 08:28:48 +0200 Subject: [PATCH] updated snapshots --- .../community-header.spec.js.snap | 62 ------------------- .../__snapshots__/item-card.spec.js.snap | 39 ------------ 2 files changed, 101 deletions(-) delete mode 100644 tests/unit/component-tests/base-component-tests/__snapshots__/community-header.spec.js.snap delete mode 100644 tests/unit/component-tests/community-component-tests/__snapshots__/item-card.spec.js.snap diff --git a/tests/unit/component-tests/base-component-tests/__snapshots__/community-header.spec.js.snap b/tests/unit/component-tests/base-component-tests/__snapshots__/community-header.spec.js.snap deleted file mode 100644 index 7384710..0000000 --- a/tests/unit/component-tests/base-component-tests/__snapshots__/community-header.spec.js.snap +++ /dev/null @@ -1,62 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`CommunityHeader component renders correctly 1`] = ` -<div - class="flex items-center justify-between mx-4" -> - <div - class="flex-1 min-w-0" - > - <h2 - class="text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate" - > - String - </h2> - <div - class="mt-1 flex flex-col sm:flex-row sm:flex-wrap sm:mt-0 sm:space-x-6" - > - <div - class="mt-2 flex items-center text-sm text-gray-500" - > - <svg - aria-hidden="true" - class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" - fill="currentColor" - viewBox="0 0 20 20" - xmlns="http://www.w3.org/2000/svg" - > - <path - clip-rule="evenodd" - d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" - fill-rule="evenodd" - /> - </svg> - String - </div> - </div> - </div> - <div> - <span - class="hidden sm:block" - > - <!-- Legg dette til i button: v-if="adminStatus" --> - <svg - class="w-9 h-9 cursor-pointer" - fill="none" - stroke="currentColor" - viewBox="0 0 24 24" - xmlns="http://www.w3.org/2000/svg" - > - <path - d="M4 6h16M4 12h16M4 18h16" - stroke-linecap="round" - stroke-linejoin="round" - stroke-width="2" - /> - </svg> - <!--v-if--> - <!-- class="absolute" --> - </span> - </div> -</div> -`; diff --git a/tests/unit/component-tests/community-component-tests/__snapshots__/item-card.spec.js.snap b/tests/unit/component-tests/community-component-tests/__snapshots__/item-card.spec.js.snap deleted file mode 100644 index a676545..0000000 --- a/tests/unit/component-tests/community-component-tests/__snapshots__/item-card.spec.js.snap +++ /dev/null @@ -1,39 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ItemCard component renders correctly 1`] = ` -<div - class="mt-5" -> - <div - class="w-52 rounded bg-gray-200" - > - <img - alt="Item image" - class="w-full" - src="String" - /> - <div - class="p-1 m-1" - > - <p - class="text-gray-700 text-xs font-bold" - id="adress" - > - String - </p> - <p - class="font-bold text-sm" - id="title" - > - String - </p> - <p - class="text-gray-700 text-xs" - id="price" - > - 0 kr - </p> - </div> - </div> -</div> -`; -- GitLab