Skip to content
Snippets Groups Projects

feat: added bank accounts to ProfileView

Merged Maria Elizabeth Pauna Lane requested to merge profile-view into development
2 files
+ 84
24
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -26,6 +26,26 @@ describe('Testing of ProfileView', () => {
@@ -26,6 +26,26 @@ describe('Testing of ProfileView', () => {
stubs: ['RouterLink','Input']
stubs: ['RouterLink','Input']
}
}
})
})
expect(wrapper.find('button').text()).toBe('Rediger')
expect(wrapper.find('#editSaveBtn').text()).toBe('Rediger')
 
})
 
 
it('displays logout button', () => {
 
const wrapper = mount(ProfileView,
 
{
 
global: {
 
stubs: ['RouterLink','Input']
 
}
 
})
 
expect(wrapper.find('#logoutBtn').text()).toBe('Logg ut')
 
})
 
 
it('displays Card components', () => {
 
const wrapper = mount(ProfileView,
 
{
 
global: {
 
stubs: ['RouterLink','Input']
 
}
 
})
 
expect(wrapper.findComponent({name: 'Card'})).toBeTruthy()
})
})
})
})
 
\ No newline at end of file
Loading