Ziwen Mei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
3 deletions
-
test/ssr/ssr-basic-renderer.spec.js
-
test/unit/features/component/component-scoped-slot.spec.js
-
test/unit/features/directives/on.spec.js
|
@ -52,7 +52,7 @@ describe('SSR: basicRenderer', () => { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// #5941
|
|
|
// #5941
|
|
|
it('should work peoperly when accessing $ssrContext in root component', done => { |
|
|
it('should work properly when accessing $ssrContext in root component', done => { |
|
|
let ssrContext |
|
|
let ssrContext |
|
|
renderToString(new Vue({ |
|
|
renderToString(new Vue({ |
|
|
template: ` |
|
|
template: ` |
|
|
|
@ -1327,7 +1327,7 @@ describe('Component scoped slot', () => { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// #11652
|
|
|
// #11652
|
|
|
it('should update when swtching between two components with slot and without slot', done => { |
|
|
it('should update when switching between two components with slot and without slot', done => { |
|
|
const Child = { |
|
|
const Child = { |
|
|
template: `<div><slot/></div>` |
|
|
template: `<div><slot/></div>` |
|
|
} |
|
|
} |
|
|
|
@ -218,7 +218,7 @@ describe('Directive v-on', () => { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// ctrl, shift, alt, meta
|
|
|
// ctrl, shift, alt, meta
|
|
|
it('should support system modifers', () => { |
|
|
it('should support system modifiers', () => { |
|
|
vm = new Vue({ |
|
|
vm = new Vue({ |
|
|
el, |
|
|
el, |
|
|
template: ` |
|
|
template: ` |
|
|