Skip to content

Commit 4cb3c5c

Browse files
committed
test: improve $options test to use beforeCreate hook
1 parent 528621b commit 4cb3c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/__tests__/apiOptions.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ describe('api: options', () => {
570570
mixins: [{ foo: 'mixin' }],
571571
extends: { foo: 'extends' },
572572
foo: 'local',
573-
mounted() {
573+
beforeCreate() {
574574
merged = this.$options.foo
575575
}
576576
})

0 commit comments

Comments
 (0)