This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
Update jest in /modules/api from 22.4.3 to 23.6.0 #245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies.io has updated
jest
(a npm dependency in/modules/api
) from "22.4.3" to "23.6.0".23.6.0
Features
[jest-cli]
AddchangedSince
to allowed watch mode configs (#6955)[babel-jest]
Add support forbabel.config.js
added in Babel 7.0.0 (#6911)Fixes
[jest-resolve]
Only resolve realpath once in try-catch (#6925)[expect]
Fix TypeError intoBeInstanceOf
onnull
orundefined
(#6912)[jest-jasmine2]
Throw a descriptive error if the first argument supplied to a hook was not a function (#6917) and (#6931)[jest-circus]
Throw a descriptive error if the first argument supplied to a hook was not a function (#6917) and (#6931)[expect]
Fix variadic custom asymmetric matchers (#6898)[jest-cli]
Fix incorrecttestEnvironmentOptions
warning (#6852)[jest-each]
Prevent done callback being supplied to describe (#6843)[jest-config]
Better error message for a case when a preset module was found, but nojest-preset.js
orjest-preset.json
at the root (#6863)[jest-haste-map]
Catch crawler error when unsuccessfully reading directories (#6761)Chore & Maintenance
[docs]
Add custom toMatchSnapshot matcher docs (#6837)[docs]
Improve the documentation regarding preset configuration (#6864)[docs]
Clarify usage of--projects
CLI option (#6872)[docs]
Correctfailure-change
notification mode (#6878)[scripts]
Don’t remove node_modules from subdirectories of presets in e2e tests (#6948)[diff-sequences]
Double-check number of differences in tests (#6953)23.5.0
Features
[jest-cli]
Add package name toNotifyReporter
notification (#5898)[jest-runner]
print stack trace whenprocess.exit
is called from user code (#6714)[jest-each]
introduces%#
option to add index of the test to its title (#6414)[pretty-format]
Support serializingDocumentFragment
(#6705)[jest-validate]
Addrecursive
andrecursiveBlacklist
options for deep config checks (#6802)[jest-cli]
Check watch plugins for key conflicts (#6697)Fixes
[jest-snapshot]
Mark snapshots as obsolete when moved to an inline snapshot (#6773)[jest-config]
Fix--coverage
with--findRelatedTests
overwritingcollectCoverageFrom
options (#6736)[jest-config]
Update default config for testURL from 'about:blank' to 'http://localhost' to address latest JSDOM security warning. (#6792)[jest-cli]
FixtestMatch
not working with negations (#6648)[jest-cli]
Don't report promises as open handles (#6716)[jest-each]
Add timeout support to parameterised tests (#6660)[jest-cli]
Improve the message when running coverage while there are no files matching global threshold (#6334)[jest-snapshot]
Correctly merge property matchers with the rest of the snapshot intoMatchSnapshot
. (#6528)[jest-snapshot]
Add error messages for invalid property matchers. (#6528)[jest-cli]
Show open handles from inside test files as well (#6263)[jest-haste-map]
Fix a problem where creating folders ending with.js
could cause a crash (#6818)Chore & Maintenance
[docs]
Document another option to avoid warnings with React 16 (#5258)[docs]
Add note explaining whenjest.setTimeout
should be called (#6817)[docs]
Fixed bug in example code (#6828)