We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff48a0 commit d01eaf3Copy full SHA for d01eaf3
test/unit/specs/core.js
@@ -14,7 +14,12 @@ describe('Core', function () {
14
it('matching views', function (done) {
15
router = new Router({ abstract: true })
16
router.map({
17
- '/a': { component: { template: 'AAA' }},
+ '/a': { component: {
18
+ template: 'AAA',
19
+ data: function () {
20
+ expect(this.$route).toBeTruthy()
21
+ }
22
+ }},
23
'/b': { component: { template: 'BBB' }}
24
})
25
var App = Vue.extend({
0 commit comments