File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ let UnwrappedWords = class Words extends React.Component {
875875} ;
876876export const Words = Radium ( UnwrappedWords ) ; // Exported for unit tests.
877877
878- let Train = class Train extends React . Component {
878+ let UnwrappedTrain = class Train extends React . Component {
879879 state = {
880880 headOpen : false
881881 } ;
@@ -906,7 +906,7 @@ let Train = class Train extends React.Component {
906906 </ div >
907907 < div style = { styles . counter } >
908908 < img src = { counterIcon } style = { styles . counterImg } />
909- < span style = { styles . counterNum } >
909+ < span style = { styles . counterNum } id = "uitest-train-count" >
910910 { Math . min ( 999 , state . yesCount + state . noCount ) }
911911 </ span >
912912 </ div >
@@ -958,7 +958,7 @@ let Train = class Train extends React.Component {
958958 ) ;
959959 }
960960} ;
961- Train = Radium ( Train ) ;
961+ export const Train = Radium ( UnwrappedTrain ) ; // Exported for unit tests.
962962
963963const defaultTimeScale = 1 ;
964964const timeScales = [ 1 , 2 ] ;
You can’t perform that action at this time.
0 commit comments