Implement user_profile.spec.js
This commit is contained in:
parent
1341a7bb9c
commit
828b1c78f9
8 changed files with 153 additions and 15 deletions
|
@ -16,7 +16,7 @@ describe('routes', () => {
|
|||
|
||||
const matchedComponents = router.getMatchedComponents()
|
||||
|
||||
expect(matchedComponents[0].components.hasOwnProperty('Timeline'))
|
||||
expect(matchedComponents[0].components.hasOwnProperty('Timeline')).to.eql(true)
|
||||
})
|
||||
|
||||
it('user\'s profile', () => {
|
||||
|
@ -24,6 +24,7 @@ describe('routes', () => {
|
|||
|
||||
const matchedComponents = router.getMatchedComponents()
|
||||
|
||||
expect(matchedComponents[0].components.hasOwnProperty('UserProfile'))
|
||||
console.log(matchedComponents[0].components.UserCardContent)
|
||||
expect(matchedComponents[0].components.hasOwnProperty('UserProfile')).to.eql(true)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue