Make JavaScript and TypeScript templates consistent (#7944)

This commit is contained in:
RJ Morgan
2019-11-06 16:30:20 -08:00
committed by Ian Sutherland
parent 0c9fa8d1c4
commit 8a1ee2f7a5
2 changed files with 7 additions and 2 deletions

View File

@@ -3,11 +3,16 @@
}
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;

View File

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