From 6ff7fe1b944dbd6ba3f720e74e2faef7124762f7 Mon Sep 17 00:00:00 2001 From: zysim <9867871+zysim@users.noreply.github.com> Date: Sun, 5 May 2024 19:11:44 +0800 Subject: [PATCH] Uh --- components/elements/buttons/DropDown/DropDownItem.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/elements/buttons/DropDown/DropDownItem.test.ts b/components/elements/buttons/DropDown/DropDownItem.test.ts index f4736313..2092e148 100644 --- a/components/elements/buttons/DropDown/DropDownItem.test.ts +++ b/components/elements/buttons/DropDown/DropDownItem.test.ts @@ -5,7 +5,7 @@ import type { ComponentMountingOptions } from '@vue/test-utils' enableAutoUnmount(afterEach) -function mountDropDownItem( +function mountDropdownItem( options?: ComponentMountingOptions, ) { return shallowMount(DropdownItem, options) @@ -13,14 +13,14 @@ function mountDropDownItem( describe('', () => { it('should render without crashing', () => { - const wrapper = mountDropDownItem({ + const wrapper = mountDropdownItem({ props: { slots: 'test' }, }) expect(wrapper.isVisible()).toBe(true) }) it("should trigger the click event when it's, well, clicked on", async () => { - const wrapper = mountDropDownItem({}) + const wrapper = mountDropdownItem({}) await getByTestId(wrapper, 'container').trigger('click')