diff --git a/components/tour/__tests__/index.test.js b/components/tour/__tests__/index.test.js new file mode 100644 index 0000000000..fb08ec01df --- /dev/null +++ b/components/tour/__tests__/index.test.js @@ -0,0 +1,18 @@ +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 ; + }; + }, + }); + expect(wrapper.find('.Tour').exists()).toBe(true); + }); +});