You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/tour/__tests__/index.test.js

19 lines
447 B

import Tour from '..';
import mountTest from '../../../tests/shared/mountTest';
import { mount } from '@vue/test-utils';
describe('Tour', () => {
mountTest(Tour);
it('The Tour should render successfully ', function () {
const wrapper = mount({
setup() {
return () => {
return <Tour class="Tour" content="Ant Design" />;
};
},
});
expect(wrapper.find('.Tour').exists()).toBe(true);
});
});