/** * Internal dependencies */ import { setLogoWidth } from '../utils'; describe( 'setLogoWidth', () => { it( 'should replace the width value in the JSON object with 60', () => { const input = ``; const expectedOutput = ``; expect( setLogoWidth( input ) ).toEqual( expectedOutput ); } ); it( 'should add a width value of 60 to the JSON object if it does not exist', () => { const input = ``; const expectedOutput = ``; expect( setLogoWidth( input ) ).toEqual( expectedOutput ); } ); it( 'should replace the width value in the JSON object for multiple instances', () => { const input = ` `; const expectedOutput = ` `; expect( setLogoWidth( input ) ).toEqual( expectedOutput ); } ); it( 'should handle other properties in the JSON object', () => { const input = ``; const expectedOutput = ``; expect( setLogoWidth( input ) ).toEqual( expectedOutput ); } ); it( 'should not modify other comments in the input', () => { const input = ` `; const expectedOutput = ` `; expect( setLogoWidth( input ) ).toEqual( expectedOutput ); } ); it( 'should use the provided width if specified', () => { const input = ``; const customWidth = 80; const expectedOutput = ``; expect( setLogoWidth( input, customWidth ) ).toEqual( expectedOutput ); } ); } );