mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-30 15:14:19 +00:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -157,7 +157,7 @@ describe("ExplorerContainer", () => {
|
|||||||
test("should handle carousel states correctly", () => {
|
test("should handle carousel states correctly", () => {
|
||||||
const mockUseCarousel = jest.mocked(useCarousel);
|
const mockUseCarousel = jest.mocked(useCarousel);
|
||||||
|
|
||||||
mockUseCarousel.mockImplementation((selector: { toString: () => string | string[] }) => {
|
mockUseCarousel.mockImplementation((selector: { toString: () => string }) => {
|
||||||
if (selector.toString().includes("shouldOpen")) {
|
if (selector.toString().includes("shouldOpen")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user