diff options
| author | Maxim Filippov <colixer@gmail.com> | 2018-12-15 06:16:44 +0300 |
|---|---|---|
| committer | Maxim Filippov <colixer@gmail.com> | 2018-12-15 06:16:44 +0300 |
| commit | 828b1c78f9304d400a206a25f4f43999bc5908bc (patch) | |
| tree | 9c3f9d067384c5f2596890a8cbafe0d324ae3604 /test/unit/specs/boot | |
| parent | 1341a7bb9cc14ecd0a1755cd2de1c09384a431c6 (diff) | |
Implement user_profile.spec.js
Diffstat (limited to 'test/unit/specs/boot')
| -rw-r--r-- | test/unit/specs/boot/routes.spec.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/specs/boot/routes.spec.js b/test/unit/specs/boot/routes.spec.js index be2fd7d2..638b1860 100644 --- a/test/unit/specs/boot/routes.spec.js +++ b/test/unit/specs/boot/routes.spec.js @@ -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) }) }) |
