From 3084ced55fa19e284547955bfcfb9a89a663aed8 Mon Sep 17 00:00:00 2001 From: Nitin Ramnani <16476523+NitinRamnani@users.noreply.github.com> Date: Mon, 16 Oct 2023 07:16:04 +0530 Subject: [PATCH] test: Added testcases for Tour Component (#7000) --- 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 000000000..fb08ec01d --- /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); + }); +});