@@ -1150,8 +1150,8 @@ describe('React', () => {
1150
1150
1151
1151
it ( 'calls mapState and mapDispatch for impure components' , ( ) => {
1152
1152
const store = createStore ( ( ) => ( {
1153
- foo : " foo" ,
1154
- bar : " bar"
1153
+ foo : ' foo' ,
1154
+ bar : ' bar'
1155
1155
} ) ) ;
1156
1156
1157
1157
const mapStateSpy = expect . createSpy ( ) ;
@@ -1166,7 +1166,7 @@ describe('React', () => {
1166
1166
const decorator = connect (
1167
1167
( state , { storeGetter} ) => {
1168
1168
mapStateSpy ( ) ;
1169
- return { value : state [ storeGetter . storeKey ] }
1169
+ return { value : state [ storeGetter . storeKey ] } ;
1170
1170
} ,
1171
1171
mapDispatchSpy ,
1172
1172
null ,
@@ -1176,7 +1176,7 @@ describe('React', () => {
1176
1176
1177
1177
class StatefulWrapper extends Component {
1178
1178
state = {
1179
- storeGetter : { storeKey : " foo" }
1179
+ storeGetter : { storeKey : ' foo' }
1180
1180
} ;
1181
1181
1182
1182
render ( ) {
@@ -1195,16 +1195,16 @@ describe('React', () => {
1195
1195
1196
1196
const target = TestUtils . findRenderedComponentWithType ( tree , Passthrough ) ;
1197
1197
const wrapper = TestUtils . findRenderedComponentWithType ( tree , StatefulWrapper ) ;
1198
- expect ( target . props . statefulValue ) . toEqual ( " foo" ) ;
1198
+ expect ( target . props . statefulValue ) . toEqual ( ' foo' ) ;
1199
1199
1200
1200
// Impure update
1201
1201
const storeGetter = wrapper . state . storeGetter ;
1202
- storeGetter . storeKey = " bar" ;
1202
+ storeGetter . storeKey = ' bar' ;
1203
1203
wrapper . setState ( { storeGetter } ) ;
1204
1204
1205
1205
expect ( mapStateSpy . calls . length ) . toBe ( 3 ) ;
1206
1206
expect ( mapDispatchSpy . calls . length ) . toBe ( 3 ) ;
1207
- expect ( target . props . statefulValue ) . toEqual ( " bar" ) ;
1207
+ expect ( target . props . statefulValue ) . toEqual ( ' bar' ) ;
1208
1208
} ) ;
1209
1209
1210
1210
it ( 'should pass state consistently to mapState' , ( ) => {
0 commit comments