File "index.test.jsx"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/components/card/test/index.test.jsx
File size: 326 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* @jest-environment jsdom
*/
import { render, screen } from '@testing-library/react';
import Card from 'components/card';
import React from 'react';
describe( 'Card', function () {
it( 'can render', () => {
render( <Card title="Title" /> );
expect( screen.getByRole( 'heading' ) ).toBeInTheDocument();
} );
} );