woocommerce/plugins/woocommerce-admin/client/homepage/test/index.js

16 lines
311 B
JavaScript
Raw Normal View History

import { render } from '@testing-library/react';
import Homepage from '../index';
describe( 'homepage', () => {
it( 'should render', () => {
const { container } = render( <Homepage /> );
expect( container ).toMatchInlineSnapshot( `
<div>
<div>
Hello World
</div>
</div>
` );
} );
} );