chore: fix outdated patchFlag
This commit is contained in:
parent
bec01c93bd
commit
9c9dd73017
@ -111,7 +111,7 @@ describe('renderer: fragment', () => {
|
|||||||
Fragment,
|
Fragment,
|
||||||
null,
|
null,
|
||||||
[h('div', 'one'), 'two'],
|
[h('div', 'one'), 'two'],
|
||||||
PatchFlags.UNKEYED_V_FOR
|
PatchFlags.UNKEYED_FRAGMENT
|
||||||
),
|
),
|
||||||
root
|
root
|
||||||
)
|
)
|
||||||
@ -122,7 +122,7 @@ describe('renderer: fragment', () => {
|
|||||||
Fragment,
|
Fragment,
|
||||||
null,
|
null,
|
||||||
[h('div', 'foo'), 'bar', 'baz'],
|
[h('div', 'foo'), 'bar', 'baz'],
|
||||||
PatchFlags.UNKEYED_V_FOR
|
PatchFlags.KEYED_FRAGMENT
|
||||||
),
|
),
|
||||||
root
|
root
|
||||||
)
|
)
|
||||||
@ -137,7 +137,7 @@ describe('renderer: fragment', () => {
|
|||||||
Fragment,
|
Fragment,
|
||||||
null,
|
null,
|
||||||
[h('div', { key: 1 }, 'one'), h('div', { key: 2 }, 'two')],
|
[h('div', { key: 1 }, 'one'), h('div', { key: 2 }, 'two')],
|
||||||
PatchFlags.KEYED_V_FOR
|
PatchFlags.KEYED_FRAGMENT
|
||||||
),
|
),
|
||||||
root
|
root
|
||||||
)
|
)
|
||||||
@ -151,7 +151,7 @@ describe('renderer: fragment', () => {
|
|||||||
Fragment,
|
Fragment,
|
||||||
null,
|
null,
|
||||||
[h('div', { key: 2 }, 'two'), h('div', { key: 1 }, 'one')],
|
[h('div', { key: 2 }, 'two'), h('div', { key: 1 }, 'one')],
|
||||||
PatchFlags.KEYED_V_FOR
|
PatchFlags.KEYED_FRAGMENT
|
||||||
),
|
),
|
||||||
root
|
root
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user