test: Create unit tests for react components in packages/ui/components/alert (tests-alert-component) (#9897)

Co-authored-by: gitstart-calcom <[email protected]>
This commit is contained in:
GitStart-Cal.comandgitstart-calcom authored and GitHub committed 2023-07-19 17:22:41 +02:00
1 parent 02e34a7bde
commit bd7eadd721
5 files changed
+67

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import matchers from "@testing-library/jest-dom/matchers";
import { cleanup } from "@testing-library/react";
import { afterEach, expect } from "vitest";
expect.extend(matchers);
afterEach(() => {
cleanup();
});