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