mirror of https://github.com/vuejs/core.git
chore: update
This commit is contained in:
parent
6a6eb2a552
commit
bbea42f522
|
@ -317,7 +317,7 @@ describe('compiler: v-for', () => {
|
|||
expect(onError).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
test('v-for + the parameter name cannot be the same as the component name.', () => {
|
||||
test('v-for + the parameter name is the same as the component name.', () => {
|
||||
const onError1 = vi.fn()
|
||||
parseWithForTransform('<Comp v-for="Comp of list" />', {
|
||||
onError: onError1,
|
||||
|
|
|
@ -929,7 +929,7 @@ describe('compiler: transform component slots', () => {
|
|||
})
|
||||
})
|
||||
|
||||
test('v-slot + the parameter name cannot be the same as the component name.', () => {
|
||||
test('v-slot + the parameter name is the same as the component name.', () => {
|
||||
const onError1 = vi.fn()
|
||||
parseWithSlots(
|
||||
`<CompB>
|
||||
|
|
Loading…
Reference in New Issue