From c02c16cd834c4bd2726bb1d5b63cf120d272de2f Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Thu, 14 Sep 2023 12:03:50 -0400 Subject: [PATCH] Adding DropdownMenu test --- src/components/Button/Button.test.tsx | 8 ++- .../Collapsible/Collapsible.test.tsx | 1 + .../DropdownMenu/DropdownMenu.test.tsx | 65 +++++++++++++++++++ 3 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 src/components/DropdownMenu/DropdownMenu.test.tsx diff --git a/src/components/Button/Button.test.tsx b/src/components/Button/Button.test.tsx index acdb775df..3dd6a999e 100644 --- a/src/components/Button/Button.test.tsx +++ b/src/components/Button/Button.test.tsx @@ -1,18 +1,20 @@ -import { cleanup, render, screen, fireEvent } from '@testing-library/react' +import { cleanup, render, screen } from '@testing-library/react' import { vi } from 'vitest' import { Button } from './Button' +import userEvent from '@testing-library/user-event' describe('