From f738c9c795299a52d9789463f94f0e9c508c0ca6 Mon Sep 17 00:00:00 2001 From: Viktor Nagy Date: Thu, 6 Jun 2024 17:39:56 +0200 Subject: [PATCH] fix: added onsubmit to test case --- packages/sn-controls-react/test/new-view.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sn-controls-react/test/new-view.test.tsx b/packages/sn-controls-react/test/new-view.test.tsx index 98732c940..63970e440 100644 --- a/packages/sn-controls-react/test/new-view.test.tsx +++ b/packages/sn-controls-react/test/new-view.test.tsx @@ -87,7 +87,7 @@ describe('New view component', () => { it('should handle change', () => { const onSubmit = jest.fn() const wrapper = shallow( - , + , ).dive() const onChange = wrapper.find(CheckboxGroup).first().prop('fieldOnChange') onChange?.('VersioningMode', VersioningMode.Option1)