This commit is contained in:
Half-Shot 2024-11-07 16:59:30 +00:00
parent f3f730976f
commit 9fae0315ff

View File

@ -8,11 +8,11 @@ Please see LICENSE in the repository root for full details.
import { expect, test } from "vitest";
import { render } from "@testing-library/react";
import { act, ReactNode, useState } from "react";
import { Modal } from "./Modal";
import { afterEach } from "node:test";
import userEvent from "@testing-library/user-event";
import { Modal } from "./Modal";
const originalMatchMedia = window.matchMedia;
afterEach(() => {
window.matchMedia = originalMatchMedia;