Skip to content

Commit 9f619d2

Browse files
committed
test: update test
1 parent e049cbf commit 9f619d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ describe('hot module replacement', () => {
356356
triggerEvent(root.children[1] as TestElement, 'click')
357357
await nextTick()
358358
await new Promise(r => setTimeout(r, 0))
359-
expect(serializeInner(root)).toBe(`<button></button><!---->`)
359+
expect(serializeInner(root)).toBe(`<button></button><!--v-if-->`)
360360
expect(unmountSpy).toHaveBeenCalledTimes(1)
361361
expect(mountSpy).toHaveBeenCalledTimes(1)
362362
expect(activeSpy).toHaveBeenCalledTimes(1)

0 commit comments

Comments
 (0)