@@ -37,19 +37,19 @@ describe('bind', () => {
3737 const bound = bind ( fn , null ) ;
3838 const actual = bound ( 'a' ) ;
3939
40- expect ( actual [ 0 ] === null ) ;
40+ expect ( actual [ 0 ] ) . toBe ( null ) ;
4141 expect ( actual [ 1 ] ) . toBe ( 'a' ) ;
4242
4343 const bound2 = bind ( fn , undefined ) ;
4444 const actual2 = bound2 ( 'b' ) ;
4545
46- expect ( actual2 [ 0 ] === undefined ) ;
46+ expect ( actual2 [ 0 ] ) . toBe ( undefined ) ;
4747 expect ( actual2 [ 1 ] ) . toBe ( 'b' ) ;
4848
4949 const bound3 = ( bind as any ) ( fn ) ;
5050 const actual3 = bound3 ( 'b' ) ;
5151
52- expect ( actual3 [ 0 ] === undefined ) ;
52+ expect ( actual3 [ 0 ] ) . toBe ( undefined ) ;
5353 expect ( actual3 [ 1 ] ) . toBe ( 'b' ) ;
5454 } ) ;
5555
@@ -100,7 +100,7 @@ describe('bind', () => {
100100
101101 expect ( bound ( ) . a ) . toBe ( 1 ) ;
102102 expect ( newBound . a ) . toBe ( undefined ) ;
103- expect ( newBound instanceof Foo ) ;
103+ expect ( newBound instanceof Foo ) . toBe ( true ) ;
104104 } ) ;
105105
106106 it ( 'should handle a number of arguments when called with the `new` operator' , ( ) => {
@@ -135,7 +135,7 @@ describe('bind', () => {
135135 const bound = ( bind as any ) ( Foo ) as any ;
136136 const object = { } ;
137137
138- expect ( new bound ( ) instanceof Foo ) ;
138+ expect ( new bound ( ) instanceof Foo ) . toBe ( true ) ;
139139 expect ( new bound ( true ) ) . toBe ( object ) ;
140140 } ) ;
141141
0 commit comments