File tree 6 files changed +384
-806
lines changed
components/__tests__/__snapshots__
6 files changed +384
-806
lines changed Original file line number Diff line number Diff line change 31
31
"enzyme-to-json" : " ^3.2.0" ,
32
32
"eslint" : " ^4.10.0" ,
33
33
"prettier" : " 1.7.4" ,
34
- "react-scripts" : " 1.0.14 " ,
34
+ "react-scripts" : " 1.0.17 " ,
35
35
"react-test-renderer" : " ^16.0.0" ,
36
36
"serve" : " ^6.4.0"
37
37
},
Original file line number Diff line number Diff line change @@ -270,15 +270,13 @@ exports[`LoginModal matches the snapshot 1`] = `
270
270
>
271
271
<button
272
272
className = " ui primary button"
273
- disabled = { undefined }
274
273
id = " login-modal-sign-in-button"
275
274
onBlur = { [Function ]}
276
275
onClick = { [Function ]}
277
276
onFocus = { [Function ]}
278
277
onMouseEnter = { [Function ]}
279
278
onMouseLeave = { [Function ]}
280
279
role = " button"
281
- tabIndex = { undefined }
282
280
>
283
281
<Icon
284
282
as = " i"
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ exports[`SignInForm onSubmit error matches the snapshot 1`] = `
62
62
onSubmit = { [Function ]}
63
63
>
64
64
<form
65
- action = { undefined }
66
65
className = " ui error form"
67
66
onSubmit = { [Function ]}
68
67
>
@@ -158,11 +157,9 @@ exports[`SignInForm onSubmit error matches the snapshot 1`] = `
158
157
>
159
158
<button
160
159
className = " ui primary right floated button"
161
- disabled = { undefined }
162
160
id = " sign-in-form-sign-in-button"
163
161
onClick = { [Function ]}
164
162
role = " button"
165
- tabIndex = { undefined }
166
163
type = " submit"
167
164
>
168
165
<Icon
Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ exports[`SignUpForm onSubmit error matches the snapshot 1`] = `
120
120
onSubmit = { [Function ]}
121
121
>
122
122
<form
123
- action = { undefined }
124
123
className = " ui form"
125
124
onChange = { [Function ]}
126
125
onSubmit = { [Function ]}
@@ -330,10 +329,8 @@ exports[`SignUpForm onSubmit error matches the snapshot 1`] = `
330
329
>
331
330
<button
332
331
className = " ui basic secondary right floated button"
333
- disabled = { undefined }
334
332
onClick = { [Function ]}
335
333
role = " button"
336
- tabIndex = { undefined }
337
334
type = " submit"
338
335
>
339
336
<Icon
Original file line number Diff line number Diff line change @@ -5,9 +5,3 @@ import serializer from "enzyme-to-json/serializer";
5
5
configure ( { adapter : new Adapter ( ) } ) ;
6
6
7
7
expect . addSnapshotSerializer ( serializer ) ;
8
-
9
- global . requestAnimationFrame = function ( callback ) {
10
- setTimeout ( callback , 0 ) ;
11
- } ;
12
-
13
- global . cancelAnimationFrame = function ( callback ) { } ;
You can’t perform that action at this time.
0 commit comments