diff --git a/plugins/scaffolder/src/components/fields/EntityPicker/EntityPicker.test.tsx b/plugins/scaffolder/src/components/fields/EntityPicker/EntityPicker.test.tsx index d71e6cb776..598616aaa3 100644 --- a/plugins/scaffolder/src/components/fields/EntityPicker/EntityPicker.test.tsx +++ b/plugins/scaffolder/src/components/fields/EntityPicker/EntityPicker.test.tsx @@ -425,7 +425,7 @@ describe('', () => { // Verify that the input is empty expect(input).toHaveValue(''); - // Verify that the handleChange function was called with null + // Verify that the handleChange function was called with undefined expect(onChange).toHaveBeenCalledWith(undefined); }); }); @@ -522,7 +522,7 @@ describe('', () => { // Verify that the input is empty expect(input).toHaveValue(''); - // Verify that the handleChange function was called with null + // Verify that the handleChange function was called with undefined expect(onChange).toHaveBeenCalledWith(undefined); }); }); @@ -620,7 +620,7 @@ describe('', () => { // Verify that the input is empty expect(input).toHaveValue(''); - // Verify that the handleChange function was called with null + // Verify that the handleChange function was called with undefined expect(onChange).toHaveBeenCalledWith(undefined); }); }); @@ -718,7 +718,7 @@ describe('', () => { // Verify that the input is empty expect(input).toHaveValue(''); - // Verify that the handleChange function was called with null + // Verify that the handleChange function was called with undefined expect(onChange).toHaveBeenCalledWith(undefined); }); });