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

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