@@ -343,7 +343,7 @@ describe('React', () => {
343
343
expect ( spy . calls . length ) . toBe ( 3 ) ;
344
344
} ) ;
345
345
346
- it ( 'should throw an error if select, bindActionCreators , or merge returns anything but a plain object' , ( ) => {
346
+ it ( 'should throw an error if select, bindDispatch , or merge returns anything but a plain object' , ( ) => {
347
347
const store = createStore ( ( ) => ( { } ) ) ;
348
348
349
349
function makeContainer ( select , bindActionCreators , merge ) {
@@ -389,23 +389,23 @@ describe('React', () => {
389
389
{ ( ) => makeContainer ( ( ) => ( { } ) , ( ) => 1 , ( ) => ( { } ) ) }
390
390
</ Provider >
391
391
) ;
392
- } ) . toThrow ( / b i n d A c t i o n C r e a t o r s / ) ;
392
+ } ) . toThrow ( / b i n d D i s p a t c h / ) ;
393
393
394
394
expect ( ( ) => {
395
395
TestUtils . renderIntoDocument (
396
396
< Provider store = { store } >
397
397
{ ( ) => makeContainer ( ( ) => ( { } ) , ( ) => 'hey' , ( ) => ( { } ) ) }
398
398
</ Provider >
399
399
) ;
400
- } ) . toThrow ( / b i n d A c t i o n C r e a t o r s / ) ;
400
+ } ) . toThrow ( / b i n d D i s p a t c h / ) ;
401
401
402
402
expect ( ( ) => {
403
403
TestUtils . renderIntoDocument (
404
404
< Provider store = { store } >
405
405
{ ( ) => makeContainer ( ( ) => ( { } ) , ( ) => new AwesomeMap ( ) , ( ) => ( { } ) ) }
406
406
</ Provider >
407
407
) ;
408
- } ) . toThrow ( / b i n d A c t i o n C r e a t o r s / ) ;
408
+ } ) . toThrow ( / b i n d D i s p a t c h / ) ;
409
409
410
410
expect ( ( ) => {
411
411
TestUtils . renderIntoDocument (
0 commit comments