test: improve $options test to use beforeCreate hook
This commit is contained in:
@@ -570,7 +570,7 @@ describe('api: options', () => {
|
|||||||
mixins: [{ foo: 'mixin' }],
|
mixins: [{ foo: 'mixin' }],
|
||||||
extends: { foo: 'extends' },
|
extends: { foo: 'extends' },
|
||||||
foo: 'local',
|
foo: 'local',
|
||||||
mounted() {
|
beforeCreate() {
|
||||||
merged = this.$options.foo
|
merged = this.$options.foo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user