diff --git a/packages/block-editor/src/components/block-title/test/index.js b/packages/block-editor/src/components/block-title/test/index.js index 23af6288130e0..e2fb00937ba04 100644 --- a/packages/block-editor/src/components/block-title/test/index.js +++ b/packages/block-editor/src/components/block-title/test/index.js @@ -103,7 +103,7 @@ describe( 'BlockTitle', () => { const wrapper = shallow( ); - expect( wrapper.text() ).toBe( 'Block With Label: Test Label' ); + expect( wrapper.text() ).toBe( 'Test Label' ); } ); it( 'truncates the label if it is too long', () => { @@ -116,8 +116,6 @@ describe( 'BlockTitle', () => { ); - expect( wrapper.text() ).toBe( - 'Block With Long Label: This is a lo...' - ); + expect( wrapper.text() ).toBe( 'This is a longer label than typi...' ); } ); } );