mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:44:10 +00:00
chore: rename scopedSlots to slots in legacy cases
This commit is contained in:
@@ -85,7 +85,7 @@ test('render title', () => {
|
||||
|
||||
test('title-left slot', () => {
|
||||
const wrapper = mount(NumberKeyboard, {
|
||||
scopedSlots: {
|
||||
slots: {
|
||||
'title-left': () => 'Custom Title Left',
|
||||
},
|
||||
});
|
||||
@@ -105,7 +105,7 @@ test('extra-key prop', () => {
|
||||
|
||||
test('extra-key slot', () => {
|
||||
const wrapper = mount(NumberKeyboard, {
|
||||
scopedSlots: {
|
||||
slots: {
|
||||
'extra-key': () => 'Custom Extra Key',
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user