[更新]简单的官方demo井字棋

This commit is contained in:
唐明明
2021-02-15 21:20:16 +08:00
parent 86a21a6c83
commit 001eb197a2
12 changed files with 212 additions and 15 deletions

View File

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