codies/frontend/src/app.test.tsx

11 lines
273 B
TypeScript
Raw Normal View History

2020-05-23 21:51:11 +00:00
import { render } from '@testing-library/react';
import React from 'react';
import { App } from './app';
test('renders codies name', () => {
const { getByText } = render(<App />);
const element = getByText(/codies/i);
expect(element).toBeInTheDocument();
});