diff --git a/src/Modal.test.tsx b/src/Modal.test.tsx index 4217b6ce..ad06049a 100644 --- a/src/Modal.test.tsx +++ b/src/Modal.test.tsx @@ -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;