From 0f9541a079266841b0337286dcbda5e3e3a097b7 Mon Sep 17 00:00:00 2001 From: Nitin Ramnani <16476523+NitinRamnani@users.noreply.github.com> Date: Sat, 30 Sep 2023 22:10:11 +0530 Subject: [PATCH] Added testcases for Tour Component --- components/tour/__tests__/index.test.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 components/tour/__tests__/index.test.js 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); + }); +});