From f5467460e279ea868724c7b62007f814dd01684a Mon Sep 17 00:00:00 2001
From: Zara Mudassar <zaramu@stud.ntnu.no>
Date: Tue, 26 Apr 2022 13:33:17 +0200
Subject: [PATCH] Delete item-card.spec.js

---
 tests/unit/item-card.spec.js | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 tests/unit/item-card.spec.js

diff --git a/tests/unit/item-card.spec.js b/tests/unit/item-card.spec.js
deleted file mode 100644
index e8fc9c9..0000000
--- a/tests/unit/item-card.spec.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import { shallowMount } from "@vue/test-utils";
-import ItemCard from "@/components/ItemCard.vue";
-
-describe("ItemCard elements rendering", () => {
-    it("renders all paragraphs", async() => {
-        const wrapper = shallowMount(ItemCard);
-
-        await wrapper.setData({
-            item : {
-                title : 'Dyson',
-                adresse: 'Trondheim',
-                price : '500'
-            }
-        })
-
-        expect(wrapper.find("#title").text()).toBe("Dyson");
-        expect(wrapper.find("#adress").text()).toBe("Trondheim");
-        expect(wrapper.find("#price").text()).toBe("500");
-    });
-});
-- 
GitLab