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
+2 -2
View File
@@ -51,7 +51,7 @@ test('without price', () => {
test('top slot', () => {
const wrapper = mount(SubmitBar, {
scopedSlots: {
slots: {
top: () => 'Custom Top',
},
});
@@ -123,7 +123,7 @@ test('button-color prop', () => {
test('button slot', () => {
const wrapper = mount(SubmitBar, {
buttonText: 'text',
scopedSlots: {
slots: {
button: () => 'Custom button',
},
});