aboutsummaryrefslogtreecommitdiff
path: root/test/unit/specs/boot
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2018-12-06 21:03:52 +0300
committerMaxim Filippov <colixer@gmail.com>2018-12-06 22:10:46 +0300
commite576f8cdad03b53fb4e8669ea814c5b51990b4c5 (patch)
tree0dec95c3bd39fc94d5cace2ecd3bacf4d7057349 /test/unit/specs/boot
parent7d5794b9fa5db8fcf2a6169ab3d3dcda17b04326 (diff)
Typo in tests
Diffstat (limited to 'test/unit/specs/boot')
-rw-r--r--test/unit/specs/boot/routes.spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/specs/boot/routes.spec.js b/test/unit/specs/boot/routes.spec.js
index 9715b53a..dedee36b 100644
--- a/test/unit/specs/boot/routes.spec.js
+++ b/test/unit/specs/boot/routes.spec.js
@@ -14,16 +14,16 @@ describe('routes', () => {
it('root path', () => {
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', () => {
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'))
})
})