summaryrefslogtreecommitdiffstats
path: root/tests/javascript/unit/components/routes/Feed.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/javascript/unit/components/routes/Feed.spec.ts')
-rw-r--r--tests/javascript/unit/components/routes/Feed.spec.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/javascript/unit/components/routes/Feed.spec.ts b/tests/javascript/unit/components/routes/Feed.spec.ts
index dca9a02e2..7c925af8a 100644
--- a/tests/javascript/unit/components/routes/Feed.spec.ts
+++ b/tests/javascript/unit/components/routes/Feed.spec.ts
@@ -2,7 +2,7 @@ import Vuex, { Store } from 'vuex'
import { shallowMount, createLocalVue, Wrapper } from '@vue/test-utils'
import Feed from '../../../../../src/components/routes/Feed.vue'
-import FeedItemDisplayList from '../../../../../src/components/feed-display/FeedItemDisplayList.vue'
+import ContentTemplate from '../../../../../src/components/ContentTemplate.vue'
jest.mock('@nextcloud/axios')
@@ -65,7 +65,7 @@ describe('Feed.vue', () => {
})
it('should get starred items from state', () => {
- expect((wrapper.findComponent(FeedItemDisplayList)).props().items.length).toEqual(2)
+ expect((wrapper.findComponent(ContentTemplate)).props().items.length).toEqual(2)
})
it('should dispatch FETCH_FEED_ITEMS action if not fetchingItems.starred', () => {