Features
[jest-mock]
ExportMock
,MockInstance
,SpyInstance
types (#10138)[jest-config]
Support config files exporting (async
)function
s (#10001)[jest-cli, jest-core]
Add--selectProjects
CLI argument to filter test suites by project name (#8612)[jest-cli, jest-init]
AddcoverageProvider
tojest --init
prompts (#10044)
Fixes
[jest-console]
getConsoleOutput
to 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 withcommonColor
in diff options (#9997)[jest-snapshot]
Fix TypeScript compilation (#10008)
Chore & Maintenance
[docs]
Correct confusing filename inenableAutomock
example (#10055)[jest-core]
🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (#10000)[jest-core, jest-reporters, jest-test-result, jest-types]
CleanupdisplayName
type (#10049)[jest-runtime]
Jest-internal sandbox escape hatch (#9907)[jest-fake-timers]
Updatenow
param type to supportDate
in addition tonumber
. (#10169)[docs]
Add param tosetSystemTime
docs and remove preceding period from it andgetRealSystemTime
(#10169)[jest-snapshot, jest-util]
Replacemake-dir
withfs.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)