jest-cli v0.6.0 Release Notes
-
- โ jest now reports the number of tests that were run instead of the number of test files.
- โ Added a
--json
option to print test results as JSON. - ๐ Changed the preprocessor API. A preprocessor now receives the script, file and config. The cache key function receives the script, file and stringified config to be able to create consistent hashes.
- โ Removed node-worker-pool in favor of node-worker-farm (#540).
- โ
toEqual
now also checks the internal class name of an object. This fixes invalid tests likeexpect([]).toEqual({})
which were previously passing. - โ Added the option to provide map modules to stub modules by providing the
moduleNameMapper
config option. - ๐ Allow to specify a custom
testRunner
in the configuration (#531). - โ Added a
--no-cache
option to make it easier to debug preprocessor scripts. - ๐ Fix code coverage on windows (#499).