summaryrefslogtreecommitdiffstats
path: root/tests/javascript/unit/components/routes/Folder.spec.ts
diff options
context:
space:
mode:
authorPaul Tirk <paultirk@paultirk.com>2023-11-01 21:30:29 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2023-11-07 20:01:54 +0100
commit2facfdaa5ba8dcbc79bbfe21be939a0f8d4e7f8d (patch)
tree435973d931e4bd3df98f2110549bca2b6fcb93bb /tests/javascript/unit/components/routes/Folder.spec.ts
parentf3ce43963b46381f0bdb47b8d09e4ca150a6a915 (diff)
remove (now) unsuitable test for folder name/unread count in feed list header
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
Diffstat (limited to 'tests/javascript/unit/components/routes/Folder.spec.ts')
-rw-r--r--tests/javascript/unit/components/routes/Folder.spec.ts11
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)
})