diff --git a/assets/js/blocks/mini-cart/test/block.js b/assets/js/blocks/mini-cart/test/block.js index 91a50efbd25..75b736575af 100644 --- a/assets/js/blocks/mini-cart/test/block.js +++ b/assets/js/blocks/mini-cart/test/block.js @@ -202,7 +202,7 @@ describe( 'Testing Mini-Cart', () => { it( 'renders cart price if "Hide Cart Price" setting is not enabled', async () => { mockEmptyCart(); - render( ); + render( ); await waitFor( () => expect( fetchMock ).toHaveBeenCalled() ); await waitFor( () => @@ -212,9 +212,7 @@ describe( 'Testing Mini-Cart', () => { it( 'does not render cart price if "Hide Cart Price" setting is enabled', async () => { mockEmptyCart(); - const { container } = render( - - ); + const { container } = render( ); await waitFor( () => expect( fetchMock ).toHaveBeenCalled() ); await waitFor( () =>