mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
chore: rename scopedSlots to slots in legacy cases
This commit is contained in:
@@ -30,7 +30,7 @@ test('disabled', () => {
|
||||
|
||||
test('label disabled', () => {
|
||||
const wrapper = mount(Checkbox, {
|
||||
scopedSlots: {
|
||||
slots: {
|
||||
default: () => 'Label',
|
||||
},
|
||||
props: {
|
||||
@@ -93,7 +93,7 @@ test('click event', async () => {
|
||||
|
||||
test('label-position prop', () => {
|
||||
const wrapper = mount(Checkbox, {
|
||||
scopedSlots: {
|
||||
slots: {
|
||||
default: () => 'Label',
|
||||
},
|
||||
props: {
|
||||
|
Reference in New Issue
Block a user