jest-regex-util
Advanced tools
Changelog
jest 22.1.0
[jest-cli]
Make Jest exit without an error when no tests are found in the case of --lastCommit
, --findRelatedTests
, or --onlyChanged
options having been passed to the CLI[jest-cli]
Add interactive snapshot mode (#3831)[jest-cli]
Use import-local
to support global Jest installations. (#5304)[jest-runner]
Fix memory leak in coverage reporting (#5289)[docs]
Update mention of the minimal version of node supported (#4947)[jest-cli]
Fix missing newline in console message (#5308)[jest-cli]
--lastCommit
and --changedFilesWithAncestor
now take effect even when --onlyChanged
is not specified. (#5307)[filenames]
Standardize folder names under integration-tests/
(#5298)Changelog
jest 22.0.5
[jest-leak-detector]
Removed the reference to weak
. Now, parent projects must install it by hand for the module to work.[expect]
Fail test when the types of stringContaining
and stringMatching
matchers do not match. (#5069)[jest-cli]
Treat dumb terminals as noninteractive (#5237)[jest-cli]
jest --onlyChanged --changedFilesWithAncestor
now also works with git. (#5189)[jest-config]
fix unexpected condition to avoid infinite recursion in Windows platform. (#5161)[jest-config]
Escape parentheses and other glob characters in rootDir
before interpolating with testMatch
. (#4838)[jest-regex-util]
Fix breaking change in --testPathPattern
(#5230)[expect]
Do not override Error
stack (with Error.captureStackTrace
) for custom matchers. (#5162)[pretty-format]
Pretty format for DOMStringMap and NamedNodeMap (#5233)[jest-cli]
Use a better console-clearing string on Windows (#5251)[jest-jasmine]
Allowed classes and functions as describe
names. (#5154)[jest-jasmine2]
Support generator functions as specs. (#5166)[jest-jasmine2]
Allow spyOn
with getters and setters. (#5107)[jest-config]
Allow configuration objects inside projects
array (#5176)[expect]
Add support to .toHaveProperty
matcher to accept the keyPath argument as an array of properties/indices. (#5220)[docs]
Add documentation for .toHaveProperty matcher to accept the keyPath argument as an array of properties/indices. (#5220)[jest-runner]
test environments are now passed a new options
parameter. Currently this only has the console
which is the test console that Jest will expose to tests. (#5223)[jest-environment-jsdom]
pass the options.console
to a custom instance of virtualConsole
so jsdom is using the same console as the test. (#5223)Changelog
jest 21.2.0
--silent --verbose
problem (#4505)