Skip to content

Commit

Permalink
Cleanup commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
brokoli777 committed Nov 19, 2024
1 parent 68e43f0 commit 94f26c7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions __tests__/components/ChatBotBody/UserCheckboxes.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,12 @@ describe("UserCheckboxes Component", () => {
const checkbox1 = screen.getByText("Checkbox 1");
fireEvent.mouseDown(checkbox1);

screen.debug();

//const nextButton = screen.getByClassName("rcb-checkbox-next-button");
const nextButton = container.getElementsByClassName("rcb-checkbox-next-button")[0];
expect(nextButton).toBeDefined();

// Click next button
fireEvent.mouseDown(nextButton);

// expect(mockHandleSubmitText).toHaveBeenCalledWith("Checkbox 1", true);

expect(mockHandleSubmitText).toHaveBeenCalledTimes(1);
});

Expand All @@ -142,8 +137,5 @@ describe("UserCheckboxes Component", () => {
fireEvent.mouseDown(checkbox1);
expect(mockHandleSubmitText).not.toHaveBeenCalled();
});




});

0 comments on commit 94f26c7

Please sign in to comment.