/** * @jest-environment jsdom */ import { render, screen } from '@testing-library/react'; import { ImageEditorCanvas } from '../image-editor-canvas'; jest.mock( 'calypso/blocks/image-editor/image-editor-crop', () => () => (
) ); describe( 'ImageEditorToolbar', () => { test( 'should render cropping area when the image meets the minimum height and width', () => { render(