mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
fix ssr test case for init -> beforeCreate change
This commit is contained in:
parent
8c86973198
commit
f20b1a8333
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user