fix ssr test case for init -> beforeCreate change

This commit is contained in:
Evan You 2016-06-27 12:53:12 -04:00
parent 8c86973198
commit f20b1a8333

View File

@ -141,7 +141,7 @@ describe('SSR: renderToString', () => {
data: {
val: 'hi'
},
init () {
beforeCreate () {
expect(lifecycleCount++).toBe(1)
},
created () {
@ -151,7 +151,7 @@ describe('SSR: renderToString', () => {
},
components: {
test: {
init () {
beforeCreate () {
expect(lifecycleCount++).toBe(3)
},
created () {