From 8e93375a9dd30ab1eac3b36946d940e8711d43c9 Mon Sep 17 00:00:00 2001 From: gromdimon Date: Fri, 8 Dec 2023 13:08:37 +0100 Subject: [PATCH] cleanup --- frontend/src/components/SearchBar.vue | 1 - frontend/src/views/__tests__/ProfileView.spec.ts | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/src/components/SearchBar.vue b/frontend/src/components/SearchBar.vue index 7a2dfff4..651c0a1e 100644 --- a/frontend/src/components/SearchBar.vue +++ b/frontend/src/components/SearchBar.vue @@ -96,4 +96,3 @@ const emit = defineEmits<{ - diff --git a/frontend/src/views/__tests__/ProfileView.spec.ts b/frontend/src/views/__tests__/ProfileView.spec.ts index b20661a4..94017998 100644 --- a/frontend/src/views/__tests__/ProfileView.spec.ts +++ b/frontend/src/views/__tests__/ProfileView.spec.ts @@ -1,8 +1,6 @@ import { describe, expect, it } from 'vitest' import HeaderDefault from '@/components/HeaderDefault.vue' -import BookmarksCard from '@/components/Profile/BookmarksCard.vue' -import CaseCard from '@/components/Profile/CaseCard.vue' import ProfileInformationCard from '@/components/Profile/ProfileInformationCard.vue' import { setupMountedComponents } from '@/lib/test-utils' import { type UserData } from '@/stores/user' @@ -40,15 +38,11 @@ describe.concurrent('Profile view', async () => { expect(wrapper.html()).toMatch('User Profile') expect(wrapper.text()).toMatch('You are currently logged in...') - expect(wrapper.text()).toMatch('Your bookmarks') + expect(wrapper.text()).toMatch('Bookmarks') expect(wrapper.text()).toMatch('Case Information') const profileInformationCard = wrapper.findComponent(ProfileInformationCard) - const bookmarksCard = wrapper.findComponent(BookmarksCard) - const caseCard = wrapper.findComponent(CaseCard) expect(profileInformationCard.exists()).toBe(true) - expect(bookmarksCard.exists()).toBe(true) - expect(caseCard.exists()).toBe(true) }) it('renders the main content if not logged in', async () => {