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
@@ -3,7 +3,7 @@ import { mount, mockGetBoundingClientRect } from '../../../test';
test('should render left/right slot and match snapshot', () => {
const wrapper = mount(NavBar, {
scopedSlots: {
slots: {
left: () => 'Custom Left',
right: () => 'Custom Right',
},
@@ -14,7 +14,7 @@ test('should render left/right slot and match snapshot', () => {
test('should render title slot and match snapshot', () => {
const wrapper = mount(NavBar, {
scopedSlots: {
slots: {
title: () => 'Custom Title',
},
});