Skip to content

Commit 3e815be

Browse files
committed
wip: fix tests
1 parent 5913e01 commit 3e815be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ describe('component: proxy', () => {
9393
expect(instanceProxy.$root).toBe(instance!.root.proxy)
9494
expect(instanceProxy.$emit).toBe(instance!.emit)
9595
expect(instanceProxy.$el).toBe(instance!.vnode.el)
96-
expect(instanceProxy.$options).toBe(
97-
(instance!.type as ComponentOptions).__merged
98-
)
96+
expect(instanceProxy.$options).toBe(instance!.type as ComponentOptions)
9997
expect(() => (instanceProxy.$data = {})).toThrow(TypeError)
10098
expect(`Attempting to mutate public property "$data"`).toHaveBeenWarned()
10199

0 commit comments

Comments
 (0)