diff --git a/examples/controls_example/public/react_controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx b/examples/controls_example/public/react_controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx index 3746d81f44473..edc9bc1b214ac 100644 --- a/examples/controls_example/public/react_controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx +++ b/examples/controls_example/public/react_controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx @@ -224,20 +224,6 @@ describe('RangesliderControlApi', () => { }); describe('step state', () => { - test('default value provided when state.step is undefined', async () => { - const { api } = await factory.buildControl( - { - dataViewId: 'myDataViewId', - fieldName: 'myFieldName', - }, - buildApiMock, - uuid, - controlGroupApi - ); - const serializedState = api.serializeState() as SerializedPanelState; - expect(serializedState.rawState.step).toBe(1); - }); - test('retains value from initial state', async () => { const { api } = await factory.buildControl( { diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx b/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx index 5c753777eae9b..a5169814fa02f 100644 --- a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx +++ b/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx @@ -94,7 +94,8 @@ describe('react embeddable renderer', () => { expect.any(Function), expect.any(String), expect.any(Object), - expect.any(Function) + expect.any(Function), + { bork: 'blorp?' }, ); }); }); @@ -120,7 +121,8 @@ describe('react embeddable renderer', () => { expect.any(Function), '12345', expect.any(Object), - expect.any(Function) + expect.any(Function), + { bork: 'blorp?' }, ); }); }); @@ -142,7 +144,8 @@ describe('react embeddable renderer', () => { expect.any(Function), expect.any(String), parentApi, - expect.any(Function) + expect.any(Function), + { bork: 'blorp?' }, ); }); });