Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Nov 22, 2024
1 parent 42a30ad commit b7b0932
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/runtime-dom/__tests__/customElement.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1358,9 +1358,7 @@ describe('defineCustomElement', () => {
)

// hmr
__VUE_HMR_RUNTIME__.reload(__hmrId, {
...def,
} as any)
__VUE_HMR_RUNTIME__.reload(__hmrId, def as any)

await nextTick()
expect(el.shadowRoot?.innerHTML).toBe(
Expand Down

0 comments on commit b7b0932

Please sign in to comment.