Add CRA with typescript

This commit is contained in:
2020-07-22 11:42:48 +02:00
parent 3489f1333b
commit b6d776c78d
20 changed files with 11319 additions and 1 deletions

9
src/App.test.tsx Normal file
View File

@@ -0,0 +1,9 @@
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});