diff --git a/src/controls/BooleanControl.test.tsx b/src/controls/BooleanControl.test.tsx index 95ba519..170d884 100644 --- a/src/controls/BooleanControl.test.tsx +++ b/src/controls/BooleanControl.test.tsx @@ -36,8 +36,6 @@ test("handles onChange event correctly", async () => { const checkbox = await screen.findByLabelText("Name"); expect(checkbox).not.toBeChecked(); - // Called with the default when initialized - expect(updateData).toHaveBeenLastCalledWith(undefined); await userEvent.click(checkbox); expect(checkbox).toBeChecked();