diff --git a/webapp/components/_new/features/SearchResults/SearchResults.spec.js b/webapp/components/_new/features/SearchResults/SearchResults.spec.js
index b27d84ef1..198c12b47 100644
--- a/webapp/components/_new/features/SearchResults/SearchResults.spec.js
+++ b/webapp/components/_new/features/SearchResults/SearchResults.spec.js
@@ -34,14 +34,9 @@ describe('SearchResults', () => {
propsData = {
pageSize: 12,
}
- // Wolle jest.useFakeTimers()
wrapper = Wrapper()
})
- afterEach(() => {
- // Wolle jest.clearAllMocks()
- })
-
describe('mount', () => {
it('renders tab-navigation component', () => {
expect(wrapper.find('.tab-navigation').exists()).toBe(true)
@@ -54,8 +49,6 @@ describe('SearchResults', () => {
})
})
- // Wolle beforeEach(jest.useFakeTimers)
-
describe('result contains 25 posts, 8 users and 0 hashtags', () => {
// we couldn't get it running with "jest.runAllTimers()" and so we used "setTimeout"
// time is a bit more then 3000 milisec see "webapp/components/CountTo.vue"
@@ -69,7 +62,6 @@ describe('SearchResults', () => {
userCount: 8,
activeTab: 'Post',
})
- // Wolle await wrapper.vm.$nextTick()
})
it('shows a total of 33 results', () => {
@@ -79,9 +71,6 @@ describe('SearchResults', () => {
})
it('shows tab with 25 posts found', () => {
- // console.log('postTab: ', postTab.html())
- // console.log('wrapper: ', wrapper)
- // Wolle jest.runAllTimers()
setTimeout(() => {
expect(wrapper.find('[data-test="Post-tab"]').text()).toContain('25')
}, counterTimeout)
diff --git a/webapp/components/_new/features/SearchResults/SearchResults.vue b/webapp/components/_new/features/SearchResults/SearchResults.vue
index a4b2805c0..12c6a7c49 100644
--- a/webapp/components/_new/features/SearchResults/SearchResults.vue
+++ b/webapp/components/_new/features/SearchResults/SearchResults.vue
@@ -86,19 +86,7 @@
-
-
-
+
@@ -107,67 +95,6 @@
-
-
-
@@ -178,7 +105,6 @@ import HcEmpty from '~/components/Empty/Empty'
import MasonryGrid from '~/components/MasonryGrid/MasonryGrid'
import MasonryGridItem from '~/components/MasonryGrid/MasonryGridItem'
import PostTeaser from '~/components/PostTeaser/PostTeaser'
-// Wolle import TabNavigation from '~/components/_new/generic/TabNavigation/TabNavigation'
import NewTabNavigation from '~/components/_new/generic/TabNavigation/NewTabNavigation'
import UserTeaser from '~/components/UserTeaser/UserTeaser'
import PaginationButtons from '~/components/_new/generic/PaginationButtons/PaginationButtons'
@@ -186,7 +112,6 @@ import HcHashtag from '~/components/Hashtag/Hashtag'
export default {
components: {
- // Wolle TabNavigation,
NewTabNavigation,
HcEmpty,
MasonryGrid,
@@ -410,10 +335,8 @@ export default {
diff --git a/webapp/components/_new/generic/TabNavigation/NewTabNavigation.vue b/webapp/components/_new/generic/TabNavigation/NewTabNavigation.vue
index d29767e01..ff06c42d9 100644
--- a/webapp/components/_new/generic/TabNavigation/NewTabNavigation.vue
+++ b/webapp/components/_new/generic/TabNavigation/NewTabNavigation.vue
@@ -1,25 +1,4 @@
-
-