Closed leoggonzalez closed 5 years ago
I'm getting this error when calling .toExist();
expect('something truthy').toExist();
TypeError: (0 , _expect2.default)(...).toExist is not a function at Context.eval (webpack-internal:///42:27:47);
TypeError: (0 , _expect2.default)(...).toExist is not a function at Context.eval (webpack-internal:///42:27:47)
Other methods work just fine
That's because .toExist is part of jest's expect package, which is v21+ (see the readme). This repo is for versions < 21.
.toExist
I'm getting this error when calling .toExist();
expect('something truthy').toExist();
TypeError: (0 , _expect2.default)(...).toExist is not a function at Context.eval (webpack-internal:///42:27:47)
;Other methods work just fine