Implement user_profile.spec.js
This commit is contained in:
parent
1341a7bb9c
commit
828b1c78f9
8 changed files with 153 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
const generateProfileLink = (id, screenName) => {
|
||||
return {
|
||||
name: 'user-profile',
|
||||
name: (isExternal(screenName) ? 'external-user-profile' : 'user-profile'),
|
||||
params: (isExternal(screenName) ? { id } : { name: screenName })
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue