diff --git a/tests/unit/light-volume.integration.test.tsx b/tests/unit/light-volume.integration.test.tsx index 9a4f9ee8..c0546f3f 100644 --- a/tests/unit/light-volume.integration.test.tsx +++ b/tests/unit/light-volume.integration.test.tsx @@ -1,4 +1,4 @@ -import { fireEvent, render, screen, waitFor } from "@testing-library/react"; +import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react"; import { act } from "react"; import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; @@ -99,6 +99,7 @@ describe("light volume integration", () => { }); afterEach(() => { + cleanup(); vi.restoreAllMocks(); });