We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ea668 commit 3084cedCopy full SHA for 3084ced
components/tour/__tests__/index.test.js
@@ -0,0 +1,18 @@
1
+import Tour from '..';
2
+import mountTest from '../../../tests/shared/mountTest';
3
+import { mount } from '@vue/test-utils';
4
+
5
+describe('Tour', () => {
6
+ mountTest(Tour);
7
8
+ it('The Tour should render successfully ', function () {
9
+ const wrapper = mount({
10
+ setup() {
11
+ return () => {
12
+ return <Tour class="Tour" content="Ant Design" />;
13
+ };
14
+ },
15
+ });
16
+ expect(wrapper.find('.Tour').exists()).toBe(true);
17
18
+});
0 commit comments