jest-util
30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed
13.2.2 is the newest release of 13.x.
In short
8 new4 changed
Release note
Added duration of individual tests in verbose mode.
Added a
browserconfig option to properly resolve npm packages with a browser field inpackage.jsonif you are writing tests for client side appsAdded
jest-repl.Split up
jest-cliintojest-runtimeandjest-config.Added a notification plugin that shows a test run notification using
--notify.Refactored
TestRunnerintoSearchSourceand improved the "no tests found" message.Added
jest.isMockFunction(jest.fn())to test for mock functions.Improved test reporter printing and added a test failure summary when running many tests.
Add support for property testing via testcheck-js.
Added a webpack tutorial.
Added support for virtual mocks through
jest.mock('Module', implementation, {virtual: true}).Added snapshot functionality through
toMatchSnapshot().Redesigned website.