From d3592e267c0a38ad34615691e28ef57cfe91e956 Mon Sep 17 00:00:00 2001 From: mahula Date: Fri, 2 Dec 2022 14:17:58 +0100 Subject: [PATCH] adapt unit tests to changes on frontend overview page --- frontend/src/pages/Overview.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/Overview.spec.js b/frontend/src/pages/Overview.spec.js index 8f0dda01d..4aafa23d3 100644 --- a/frontend/src/pages/Overview.spec.js +++ b/frontend/src/pages/Overview.spec.js @@ -25,10 +25,11 @@ describe('Overview', () => { wrapper = Wrapper() }) - it('has a transactions table', () => { - expect(wrapper.find('div.gdd-transaction-list').exists()).toBeTruthy() + it('has a community news element', () => { + expect(wrapper.find('div.community-news').exists()).toBeTruthy() }) + /* describe('timestamp updates', () => { it('emits update transactions', async () => { expect(wrapper.emitted('update-transactions')).toHaveLength(1) @@ -36,5 +37,6 @@ describe('Overview', () => { expect(wrapper.emitted('update-transactions')).toHaveLength(2) }) }) + */ }) })