From 8dcfb8d062e318a4343769f916336ea19d970ffc Mon Sep 17 00:00:00 2001
From: Copilot <198982749+Copilot@users.noreply.github.com>
Date: Sat, 17 Jan 2026 02:09:21 +0530
Subject: [PATCH] Remove redundant test cases in Root.test.tsx (#2333)
* Initial plan
* Remove redundant test cases from Root.test.tsx
Co-authored-by: BChoudhury-ms <201893606+BChoudhury-ms@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BChoudhury-ms <201893606+BChoudhury-ms@users.noreply.github.com>
---
src/RootComponents/Root.test.tsx | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/RootComponents/Root.test.tsx b/src/RootComponents/Root.test.tsx
index a5861a5b4..3669ee8d4 100644
--- a/src/RootComponents/Root.test.tsx
+++ b/src/RootComponents/Root.test.tsx
@@ -88,19 +88,6 @@ describe("Root", () => {
expect(mockUnsubscribe).toHaveBeenCalled();
});
- test("should call getState to initialize theme", () => {
- render();
-
- expect(mockThemeStore.getState).toHaveBeenCalledTimes(1);
- });
-
- test("should handle theme subscription properly", () => {
- render();
-
- expect(mockThemeStore.subscribe).toHaveBeenCalledTimes(1);
- expect(mockThemeStore.getState).toHaveBeenCalled();
- });
-
test("should render without errors", () => {
expect(() => render()).not.toThrow();
});