mjackson / expect

Write better assertions
MIT License
2.29k stars 117 forks source link

TypeError: Cannot read property 'toBeA' of undefined #247

Closed jbraide closed 6 years ago

jbraide commented 6 years ago

Hello, i'm trying to use your awesome Library but I came across this error in the title, in order to make my code work I had to revert to an older version , 1.20.1 to be precise. For the sake of others who would use your middleware in the future please can this be addressed. Thanks Joseph screenshot from 2018-06-16 09-43-34

ljharb commented 6 years ago

expect v21+ is managed by the jest team, as is mentioned on the readme, and lives in another repo.