hunk.code_window:   setWidgetAncestry,
     shiftSelectWidgets,
     unselectWidget,
   } from "sagas/WidgetSelectUtils";
   import { inGuidedTour } from "selectors/onboardingSelectors";
   import { flashElementsById, quickScrollToWidget } from "utils/helpers";
   import { areArraysEqual } from "utils/AppsmithUtils";
   import { APP_MODE } from "entities/App";
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.file_path: app/client/src/sagas/WidgetSelectionSagas.ts
hunk.type: replace
file: import { areArraysEqual, getCamelCaseString } from "utils/AppsmithUtils";
  
  describe("getCamelCaseString", () => {
    it("Should return a string in camelCase", () => {
      const inputs = ["abcd", "ab12cd", "开关", "😃 😃 😃"];
      const expected = ["abcd", "ab12Cd", "", ""];
  
      inputs.forEach((input, index) => {
        const result = getCamelCaseString(input);
        expect(result).toStrictEqual(expected[index]);
      });
    });
  });
  
  describe("test areArraysEqual", () => {
    it("test areArraysEqual method", () => {
      const OGArray = ["test1", "test2", "test3"];
  
      let testArray: string[] = [];
      expect(areArraysEqual(OGArray, testArray)).toBe(false);
  
      testArray = ["test1", "test3"];
      expect(areArraysEqual(OGArray, testArray)).toBe(false);
  
      testArray = ["test1", "test2", "test3"];
      expect(areArraysEqual(OGArray, testArray)).toBe(true);
  
      testArray = ["test1", "test3", "test2"];
      expect(areArraysEqual(OGArray, testArray)).toBe(true);
    });
  });
  