diff options
Diffstat (limited to 'tests/javascript/unit/components/routes/Folder.spec.ts')
-rw-r--r-- | tests/javascript/unit/components/routes/Folder.spec.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/javascript/unit/components/routes/Folder.spec.ts b/tests/javascript/unit/components/routes/Folder.spec.ts index 75c36db3e..e06b4c121 100644 --- a/tests/javascript/unit/components/routes/Folder.spec.ts +++ b/tests/javascript/unit/components/routes/Folder.spec.ts @@ -26,11 +26,6 @@ describe('Folder.vue', () => { folderId: 123, } - const mockFolder = { - id: 123, - name: 'folder name', - } - let store: Store<any> beforeAll(() => { store = new Vuex.Store({ @@ -52,7 +47,6 @@ describe('Folder.vue', () => { }, getters: { feeds: () => [mockFeed, mockFeed2], - folders: () => [mockFolder], }, }) @@ -73,11 +67,6 @@ describe('Folder.vue', () => { }) }) - it('should display feed title and unread count', () => { - expect(wrapper.find('.header').text()).toContain(mockFolder.name) - expect(wrapper.find('.header').text()).toContain((mockFeed.unreadCount + mockFeed2.unreadCount).toString()) - }) - it('should get folder items from state', () => { expect((wrapper.findComponent(ContentTemplate)).props().items.length).toEqual(2) }) |