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
+4 -4
View File
@@ -26,7 +26,7 @@ test('click-input event', () => {
test('click-input event when using input slot', () => {
const wrapper = mount(Field, {
scopedSlots: {
slots: {
input: () => 'Custom Input',
},
});
@@ -224,7 +224,7 @@ test('clear-trigger prop', () => {
test('render input slot', () => {
const wrapper = mount(Field, {
scopedSlots: {
slots: {
input: () => 'Custom Input',
},
});
@@ -234,7 +234,7 @@ test('render input slot', () => {
test('render label slot', () => {
const wrapper = mount(Field, {
scopedSlots: {
slots: {
label: () => 'Custom Label',
},
});
@@ -244,7 +244,7 @@ test('render label slot', () => {
test('render extra slot', () => {
const wrapper = mount(Field, {
scopedSlots: {
slots: {
extra: () => 'Extra',
},
});