Skip to content

Commit

Permalink
Make JavaScript and TypeScript templates consistent (#7944)
Browse files Browse the repository at this point in the history
  • Loading branch information
suprj authored and iansu committed Nov 7, 2019
1 parent 0c9fa8d commit 8a1ee2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/cra-template-typescript/template/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/cra-template-typescript/template/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8a1ee2f

Please sign in to comment.