chore: rename scopedSlots to slots in legacy cases

This commit is contained in:
chenjiahan
2020-11-14 06:47:08 +08:00
parent bea039c810
commit 2550ac9111
21 changed files with 41 additions and 41 deletions
+3 -3
View File
@@ -65,7 +65,7 @@ test('search event', () => {
test('label slot', () => {
const wrapper = mount(Search, {
scopedSlots: {
slots: {
label: () => 'Custom Label',
},
});
@@ -75,7 +75,7 @@ test('label slot', () => {
test('left slot', () => {
const wrapper = mount(Search, {
scopedSlots: {
slots: {
left: () => 'Custom Left Content',
},
});
@@ -105,7 +105,7 @@ test('right-icon prop', () => {
test('right-icon slot', () => {
const wrapper = mount(Search, {
scopedSlots: {
slots: {
'right-icon': () => 'Custom Right Icon',
},
});