Update tests
This commit is contained in:
parent
7bceabb5bd
commit
7cb13df8ad
|
@ -24,7 +24,7 @@ describe('routes', () => {
|
||||||
|
|
||||||
const matchedComponents = router.getMatchedComponents()
|
const matchedComponents = router.getMatchedComponents()
|
||||||
|
|
||||||
expect(matchedComponents[0].components.hasOwnProperty('UserCardContent')).to.eql(true)
|
expect(matchedComponents[0].components.hasOwnProperty('UserCard')).to.eql(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('user\'s profile at /users', () => {
|
it('user\'s profile at /users', () => {
|
||||||
|
@ -32,6 +32,6 @@ describe('routes', () => {
|
||||||
|
|
||||||
const matchedComponents = router.getMatchedComponents()
|
const matchedComponents = router.getMatchedComponents()
|
||||||
|
|
||||||
expect(matchedComponents[0].components.hasOwnProperty('UserCardContent')).to.eql(true)
|
expect(matchedComponents[0].components.hasOwnProperty('UserCard')).to.eql(true)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue