Skip to content

Commit

Permalink
test: improve $options test to use beforeCreate hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 24, 2020
1 parent 528621b commit 4cb3c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/__tests__/apiOptions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ describe('api: options', () => {
mixins: [{ foo: 'mixin' }],
extends: { foo: 'extends' },
foo: 'local',
mounted() {
beforeCreate() {
merged = this.$options.foo
}
})
Expand Down

0 comments on commit 4cb3c5c

Please sign in to comment.