Jest v23.2.0 Release Notes
-
๐ Features
- โ
[jest-each]
Add support for keyPaths in test titles (#6457) - ๐ง
[jest-cli]
Addjest --init
option that generates a basic configuration file with a short description for each option (#6442) - โ
[jest.retryTimes]
Addjest.retryTimes()
option that allows failed tests to be retried n-times when using jest-circus. (#6498)
๐ Fixes
- ๐
[docs]
Fixed error in documentation for expect.not.arrayContaining(array). (#6491) - โ
[jest-cli]
Add check to make sure one or more tests have run before notifying when using--notify
(#6495) [jest-cli]
PassglobalConfig
as a parameter toglobalSetup
andglobalTeardown
functions (#6486)- 0๏ธโฃ
[jest-config]
Add missing options to thedefaults
object (#6428) [expect]
Using symbolic property names in arrays no longer causes thetoEqual
matcher to fail (#6391)[expect]
toEqual
no longer tries to compare non-enumerable symbolic properties, to be consistent with non-symbolic properties. (#6398)- ๐ฒ
[jest-util]
console.timeEnd
now properly log elapsed time in milliseconds. (#6456) - ๐คก
[jest-mock]
FixMockNativeMethods
access in react-nativejest.mock()
(#6505) - 0๏ธโฃ
[jest-cli]
Fixreporters
formoduleName
='default'
(#6542)
๐ง Chore & Maintenance
- ๐
[docs]
Add jest-each docs for 1 dimensional arrays (#6444)
- โ