---
to: src/modules/<%= module %>/components/<%= name %>/<%= name %>Component.test.tsx
unless_exists: true
---
import React from 'react';
import { render, screen } from '@testing-library/react';
import { <%= Name %>Component } from './<%= name %>Component';

test('renders learn react link', () => {
  render(<<%= Name %>Component />);
  const linkElement = screen.getByText(/<%= name %> Component/);
  expect(linkElement).toBeInTheDocument();
});