diff --git a/lib/src/hooks/use-loader.test.tsx b/lib/src/hooks/use-loader.test.tsx
new file mode 100644
index 00000000..f2e7d91f
--- /dev/null
+++ b/lib/src/hooks/use-loader.test.tsx
@@ -0,0 +1,16 @@
+import { cleanup, render, renderHook, screen, act } from "@testing-library/react";
+import { afterEach, describe, test } from "vitest";
+import { LoaderContainer } from "../client";
+import { useLoader } from "./use-loader";
+
+describe.concurrent("loader-container", () => {
+ afterEach(cleanup);
+
+ test("Test hook", ({ expect }) => {
+ const { result } = renderHook(() => useLoader());
+ const { container } = render();
+ expect(container.childElementCount).toBe(0);
+ act(() => result.current.setLoading(true));
+ expect(container.childElementCount).toBe(1);
+ });
+});
diff --git a/lib/src/server/dots/dots2/dots2.test.tsx b/lib/src/server/dots/dots2/dots2.test.tsx
index dcd3d1b5..f280baff 100644
--- a/lib/src/server/dots/dots2/dots2.test.tsx
+++ b/lib/src/server/dots/dots2/dots2.test.tsx
@@ -6,6 +6,6 @@ describe.concurrent("dots2", () => {
afterEach(cleanup);
test("check if renders without errors", ({ expect }) => {
- render();
+ render();
});
});