mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
12 lines
270 B
TypeScript
12 lines
270 B
TypeScript
import { mount } from '../../../test';
|
|
import ActionBarButton from '..';
|
|
|
|
test('should render default slot correctly', () => {
|
|
const wrapper = mount(ActionBarButton, {
|
|
slots: {
|
|
default: 'Content',
|
|
},
|
|
});
|
|
expect(wrapper.html()).toMatchSnapshot();
|
|
});
|