chore: fix all test cases

This commit is contained in:
Evan You
2021-03-05 16:07:23 -05:00
parent 68416e988f
commit ff4d4ec249
6 changed files with 23 additions and 9 deletions

View File

@@ -6,7 +6,8 @@ import {
openBlock,
createBlock,
Fragment,
createCommentVNode
createCommentVNode,
Slot
} from '../../src'
import { PatchFlags } from '@vue/shared'
@@ -38,7 +39,7 @@ describe('renderSlot', () => {
},
// mock instance
{ type: {} } as any
)
) as Slot
// manual invocation should not track
const manual = (openBlock(), createBlock(Fragment, null, slot()))