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

View File

@@ -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',
},
});