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