๐ Bug Report
jest bundles @types/jest@26.0.20. These types assume that jasmine is the default test runner, but with jest 27, the default test runner is jest-circus which doesn't have the same methods.
npm ls
โโโฌ ts-jest@27.0.0-next.7
โ โโโฌ @types/jest@26.0.20
To Reproduce
Install ts-jest@27.0.0-next.7 and jest 27, use the global fail method. it will compile because of the jest types, but fail during run time.
envinfo
System:
OS: MacOs
Node version: 10.15
Npm packages:
jest: 27.0.0-next.3
ts-jest: 27.0.0-next.7
typescript: 4.0.2
๐ Bug Report
jest bundles @types/jest@26.0.20. These types assume that jasmine is the default test runner, but with jest 27, the default test runner is jest-circus which doesn't have the same methods.
npm ls
To Reproduce
Install ts-jest@27.0.0-next.7 and jest 27, use the global
failmethod. it will compile because of the jest types, but fail during run time.envinfo