wip: more compat progress

This commit is contained in:
Evan You
2021-04-21 15:09:18 -04:00
parent 62b8f4a39c
commit 1b8f14ee76
14 changed files with 272 additions and 55 deletions

View File

@@ -82,7 +82,7 @@ describe('component: slots', () => {
expect(slots.default()).toMatchObject([normalizeVNode(h('span'))])
})
test('updateSlots: instance.slots should be update correctly (when slotType is number)', async () => {
test('updateSlots: instance.slots should be updated correctly (when slotType is number)', async () => {
const flag1 = ref(true)
let instance: any
@@ -124,7 +124,7 @@ describe('component: slots', () => {
expect(instance.slots).toHaveProperty('two')
})
test('updateSlots: instance.slots should be update correctly (when slotType is null)', async () => {
test('updateSlots: instance.slots should be updated correctly (when slotType is null)', async () => {
const flag1 = ref(true)
let instance: any