jest-util
30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed
Upgrading jest-util From 14.0.0 to 15.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- new
Added
--envoption to override the default test environment. - new
Added
--watchAll, made--watchinteractive and added the ability to update snapshots and select test patterns in watch mode. - new
Added
global.globalto the node environment. - new
Added
collectCoverageFromto collect code coverage from untested files. - fixed
Fix
testEnvironmentresolution to preferjest-environment-{name}instead of{name}only. This prevents a module colision when usingjsdomas test environment. - fixed
Fixed babel-jest-plugin-hoist issues with functions called
mock.
- new
12 other lines we could not sort, mostly version bumps
- 15.0.0
Jest by default now also recognizes files ending in
.spec.jsand.test.jsas test files. - 15.0.0
Completely replaced most Jasmine matchers with new Jest matchers.
- 15.0.0
Rewrote Jest's CLI output for test failures and summaries.
- 15.0.0
Disabled automocking, fake timers and resetting the module registry by default.
- 15.0.0
Jest uses verbose mode when running a single test file.
- 15.0.0
Console messages are now buffered and printed along with the test results.
- 15.0.0
moduleNameMappernow uses a resolution algorithm. - 15.0.0
Improved performance for small test runs.
- 15.0.0
Improved API documentation.
- 15.0.0
Jest now works properly with directories that have special characters in them.
2 internal lines (docs, tests, tooling) left out.