Closed sar-gupta closed 6 years ago
expect(5).toBeA('number');
is giving error: TypeError: expect(...).toBeA is not a function
TypeError: expect(...).toBeA is not a function
It should work according to documentation here
expect v21+ is now part of jest; please file issues on that repo.
expect(5).toBeA('number');
is giving error:
TypeError: expect(...).toBeA is not a function
It should work according to documentation here