Implement user_profile.spec.js

This commit is contained in:
Maxim Filippov 2018-12-15 06:16:44 +03:00
parent 1341a7bb9c
commit 828b1c78f9
8 changed files with 153 additions and 15 deletions

View file

@ -9,7 +9,7 @@ describe('generateProfileLink', () => {
it('returns obj for external user', () => {
expect(generateProfileLink(1, 'john@domain')).to.eql({
name: 'user-profile', params: { id: 1 }
name: 'external-user-profile', params: { id: 1 }
})
})
})