File tree 2 files changed +7
-2
lines changed
packages/cra-template-typescript/template/src
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3
3
}
4
4
5
5
.App-logo {
6
- animation : App-logo-spin infinite 20s linear;
7
6
height : 40vmin ;
8
7
pointer-events : none;
9
8
}
10
9
10
+ @media (prefers-reduced-motion : no-preference) {
11
+ .App-logo {
12
+ animation : App-logo-spin infinite 20s linear;
13
+ }
14
+ }
15
+
11
16
.App-header {
12
17
background-color : # 282c34 ;
13
18
min-height : 100vh ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
2
2
import { render } from '@testing-library/react' ;
3
3
import App from './App' ;
4
4
5
- test ( 'renders welcome heading ' , ( ) => {
5
+ test ( 'renders learn react link ' , ( ) => {
6
6
const { getByText } = render ( < App /> ) ;
7
7
const linkElement = getByText ( / l e a r n r e a c t / i) ;
8
8
expect ( linkElement ) . toBeInTheDocument ( ) ;
You can’t perform that action at this time.
0 commit comments