diff --git a/src/components/__tests__/HomeViewTest.spec.ts b/src/components/__tests__/HomeViewTest.spec.ts index b48a96bb1c9e244380fecc67461d4277305ae604..e61e4355c3afcb94409b66f8fc4030d7c97a065b 100644 --- a/src/components/__tests__/HomeViewTest.spec.ts +++ b/src/components/__tests__/HomeViewTest.spec.ts @@ -77,7 +77,7 @@ describe('HomeView', () => { completion: 90 } wrapper.vm.incrementSaved(challenge) - expect(challenge.saved).toBe(100) + expect(challenge.saved).toBe(110) expect(challenge.completion).toBe(100) }) diff --git a/src/components/__tests__/InteractiveSpareTest.spec.ts b/src/components/__tests__/InteractiveSpareTest.spec.ts index cc6ae09f86276592d787d69d15f655290fd68b46..47ae6b194a393cae1b57360e631fe1b6e3ccc17a 100644 --- a/src/components/__tests__/InteractiveSpareTest.spec.ts +++ b/src/components/__tests__/InteractiveSpareTest.spec.ts @@ -52,8 +52,8 @@ describe('SpeechBubbleComponent', () => { pngSize: 100 } }) - expect(wrapper.find('span').text()).toBe('First speech') + expect(wrapper.find('p').text()).toBe('First speech') await wrapper.find('img').trigger('click') - expect(wrapper.find('span').text()).toBe('Second speech') + expect(wrapper.find('p').text()).toBe('Second speech') }) })