Skip to content

Commit b5591ad

Browse files
committed
chore: update test
1 parent 6169843 commit b5591ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ describe('renderer: optimized mode', () => {
699699
)
700700
})
701701

702-
test('should not track dynamic children for slot fallback nodes', async () => {
702+
test('force full diff slot and fallback nodes', async () => {
703703
const Comp = {
704704
props: ['show'],
705705
setup(props: any, { slots }: SetupContext) {

packages/runtime-core/src/renderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ function baseCreateRenderer(
10631063
(isHmrUpdating || patchFlag & PatchFlags.DEV_ROOT_FRAGMENT)) ||
10641064
(n1 || n2).patchFlag === PatchFlags.BAIL
10651065
) {
1066-
// HMR updated / Dev root fragment (w/ comments), force full diff
1066+
// HMR updated / Dev root fragment (w/ comments) , force full diff
10671067
patchFlag = 0
10681068
optimized = false
10691069
dynamicChildren = null

0 commit comments

Comments
 (0)