Typo in tests
This commit is contained in:
parent
7d5794b9fa
commit
e576f8cdad
1 changed files with 4 additions and 4 deletions
|
@ -14,16 +14,16 @@ describe('routes', () => {
|
||||||
it('root path', () => {
|
it('root path', () => {
|
||||||
router.push('/p/main/all')
|
router.push('/p/main/all')
|
||||||
|
|
||||||
const mathcedComponents = router.getMatchedComponents()
|
const matchedComponents = router.getMatchedComponents()
|
||||||
|
|
||||||
expect(mathcedComponents[0].components.hasOwnProperty('Timeline'))
|
expect(matchedComponents[0].components.hasOwnProperty('Timeline'))
|
||||||
})
|
})
|
||||||
|
|
||||||
it('user\'s profile', () => {
|
it('user\'s profile', () => {
|
||||||
router.push('/fake-user-name')
|
router.push('/fake-user-name')
|
||||||
|
|
||||||
const mathcedComponents = router.getMatchedComponents()
|
const matchedComponents = router.getMatchedComponents()
|
||||||
|
|
||||||
expect(mathcedComponents[0].components.hasOwnProperty('UserProfile'))
|
expect(matchedComponents[0].components.hasOwnProperty('UserProfile'))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue