Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
BChoudhury-ms
2026-01-21 16:06:56 +05:30
committed by GitHub
parent 8dcfb8d062
commit f316d6ef7e

View File

@@ -157,7 +157,7 @@ describe("ExplorerContainer", () => {
test("should handle carousel states correctly", () => {
const mockUseCarousel = jest.mocked(useCarousel);
mockUseCarousel.mockImplementation((selector: { toString: () => string | string[] }) => {
mockUseCarousel.mockImplementation((selector: { toString: () => string }) => {
if (selector.toString().includes("shouldOpen")) {
return false;
}