Features
[jest-mock]ExportMock,MockInstance,SpyInstancetypes (#10138)[jest-config]Support config files exporting (async)functions (#10001)[jest-cli, jest-core]Add--selectProjectsCLI argument to filter test suites by project name (#8612)[jest-cli, jest-init]AddcoverageProvidertojest --initprompts (#10044)
Fixes
[jest-console]getConsoleOutputto receive global stack trace config and use it to format stack trace (#10081)[jest-jasmine2]Stop adding:after an error that has no message (#9990)[jest-diff]Control no diff message color withcommonColorin diff options (#9997)[jest-snapshot]Fix TypeScript compilation (#10008)
Chore & Maintenance
[docs]Correct confusing filename inenableAutomockexample (#10055)[jest-core]🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (#10000)[jest-core, jest-reporters, jest-test-result, jest-types]CleanupdisplayNametype (#10049)[jest-runtime]Jest-internal sandbox escape hatch (#9907)[jest-fake-timers]Updatenowparam type to supportDatein addition tonumber. (#10169)[docs]Add param tosetSystemTimedocs and remove preceding period from it andgetRealSystemTime(#10169)[jest-snapshot, jest-util]Replacemake-dirwithfs.mkdir(#10136)[docs]Added parcel-bundler documentation inside readme.md file
Performance
[jest-core, jest-transform, jest-haste-map]Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (#10131)