chore(deps): update dependency eslint-config-fb-strict to ^22.0.0 #5570
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.
This Pull Request updates dependency eslint-config-fb-strict from
^20.1.0-delta.3
to^22.0.0
Release Notes
v21.0.0
(#4070)
contextLines
option to jest-diff(#4152)
(#4114)
(#4408)
(#4075)
(#4188)
(#4367)
(#4005)
(#4346)
(#3738)
(#4339)
(#3678)
(#4080)
(#3994)
mode (#4331)
(#4293)
(#4174)
.require(…)
method calls(#3777)
(#3962)
(#3945)
(#4230)
(#3800)
(#4162)
implementations (#4375)
(#3979)
(#3953)
(#4307)
Test that a directory exists before attempting to resolve files within it.
(#4325)
(#3437)
(#4237)
(#3776)
(#3798)
(#3778)
(#4309)
(#4185)
(#4051)
(#3802)
(#3679)
(#3731)
(#4376)
(#4106)
(#3934)
(#3797)
(#4232)
(#4184)
(#4171)
(#4078)
(#3769)
(#4193)
(#3702)
(#4159)
(#4303)
(#3838)
(#4001)
(#3805)
(#4132)
(#3895)
(#4238)
(#3616)
(#3565
(#3689)
(#4412)
(#3857)
(#4115)
(#3773)
(#4363)
(#4393)
(#4403)
(#3972)
describe
and usetest
instead ofit
alias(#3792)
(#4023)
(#3812)
(#4079)
(#3429)
(#4292)
(#4195)
(#4241)
(#3660)
(#4273)
(#3906)
(#3770)
(#4047)
(#3885)
(#4063)
(#4046)
(#3816)
(#3976)
(#3887)
(#4088)
(#4314)
(#4012)
(#4187)
(#3833)
(#4229)
(#3892)
(#3913)
(#4342)
(#4236)
(#4240)
(#4391)
(#4170)
(#3915)
(#4277)
(#3858)
(#3559)
(#3969)
(#3693)
(#3796)
(#3723)
(#4017)
(#3807)
(#4344)
(#3758)
(#3986)
(#4207)
(#3668)
(#4311)
(#4173)
(#4225)
(#4215)
(#4189)
(#4076)
(#4360)
(#4093)
(#4318)
testability. (#4373)
(#3966)
(#4053)
(#3791)
(#3987)
(#3878)
(#3783)
(#4398)
(#4233)
(#4122)
(#4208)
(#4335)
(#4121)
(#4145)
(#4006)
(#4039)
(#3567)
(#4354)
(#4306)
(#4009)
(#4378)
(#4340)
(#3971)
(#3651)
(#3937)
Error.captureStackTrace
in a try(#4035)
v21.0.2
(#4453)
case (#4432)
--runTestsByPath
.(#4411)
(#4425)
v21.2.0
(#4533)
(#4519)
(#4520)
(#4516)
(#4504)
--silent --verbose
problem(#4505)
(#4498)
directory does not exist (#4483)
v22.0.0
Fixes
[jest-resolve]
Usemodule.builtinModules
asBUILTIN_MODULES
when itexists
[jest-worker]
Removedebug
andinspect
flags from the arguments sent tothe child (#5068)
[jest-config]
Use all--testPathPattern
and<regexForTestFiles>
args intestPathPattern
(#5066)[jest-cli]
Do not support--watch
inside non-version-controlledenvironments (#5060)
[jest-config]
Escape Windows path separator in testPathPattern CLI arguments(#5054
[jest-jasmine]
Register sourcemaps as node environment to improveperformance with jsdom (#5045)
[pretty-format]
Do not call toJSON recursively(#5044)
[pretty-format]
Fix errors when identity-obj-proxy mocks CSS Modules(#4935)
[babel-jest]
Fix support for namespaced babel version 7(#4918)
[expect]
fix .toThrow for promises(#4884)
[jest-docblock]
pragmas should preserve urls(#4837)
[jest-cli]
Check ifnpm_lifecycle_script
calls Jest directly(#4629)
[jest-cli]
Fix --showConfig to show all configs(#4494)
[jest-cli]
Throw ifmaxWorkers
doesn't have a value(#4591)
[jest-cli]
Usefs.realpathSync.native
if available(#5031)
[jest-config]
Fix--passWithNoTests
(#4639)
[jest-config]
SupportrootDir
tag in testEnvironment(#4579)
[jest-editor-support]
Fix--showConfig
to support jest 20 and jest 21(#4575)
[jest-editor-support]
Fix editor support test for node 4(#4640)
[jest-mock]
Support mocking constructor inmockImplementationOnce
(#4599)
[jest-runtime]
Fix manual user mocks not working with custom resolver(#4489)
[jest-util]
FixrunOnlyPendingTimers
forsetTimeout
insidesetImmediate
(#4608)[jest-message-util]
Always remove node internals from stacktraces(#4695)
[jest-resolve]
changes method of determining builtin modules to includemissing builtins (#4740)
[pretty-format]
Prevent error in pretty-format for window in jsdom test env(#4750)
[jest-resolve]
Preserve module identity for symlinks(#4761)
[jest-config]
Include error message forpreset
json(#4766)
[pretty-format]
ThrowPrettyFormatPluginError
if a plugin halts with anexception (#4787)
[expect]
Keep the stack trace unchanged whenPrettyFormatPluginError
isthrown by pretty-format (#4787)
[jest-environment-jsdom]
Fix asynchronous test will fail due to timeoutissue. (#4669)
[jest-cli]
Fix--onlyChanged
path case sensitivity on Windows platform(#4730)
[jest-runtime]
Use realpath to match transformers(#5000)
[expect]
[BREAKING] Replace identity equality with Object.is in toBematcher (#4917)
Features
[jest-message-util]
Add codeframe to test assertion failures(#5087)
[jest-config]
Add Global Setup/Teardown options(#4716)
[jest-config]
AddtestEnvironmentOptions
to apply to jsdom options or nodecontext. (#5003)
[jest-jasmine2]
Update Timeout error message tojest.timeout
and displaycurrent timeout value (#4990)
[jest-runner]
Enable experimental detection of leaked contexts(#4895)
[jest-cli]
Add combined coverage threshold for directories.(#4885)
[jest-mock]
Addtimestamps
to mock state.(#4866)
[eslint-plugin-jest]
Addprefer-to-have-length
lint rule.(#4771)
[jest-environment-jsdom]
[BREAKING] Upgrade to JSDOM@11(#4770)
[jest-environment-*]
[BREAKING] Add Async Test Environment APIs, disposeis now teardown (#4506)
[jest-cli]
Add an option to clear the cache(#4430)
[babel-plugin-jest-hoist]
Improve error message, that the second argument ofjest.mock
must be an inline function(#4593)
[jest-snapshot]
[BREAKING] Concatenate name of test and snapshot(#4460)
[jest-cli]
[BREAKING] Fail if no tests are found(#3672)
[jest-diff]
Highlight only last of odd length leading spaces(#4558)
[jest-docblock]
Adddocblock.print()
(#4517)
[jest-docblock]
Addstrip
(#4571)
[jest-docblock]
Preserve leading whitespace in docblock comments(#4576)
[jest-docblock]
remove leading newlines fromparswWithComments().comments
(#4610)
[jest-editor-support]
Add Snapshots metadata(#4570)
[jest-editor-support]
Adds an 'any' to the typedef forupdateFileWithJestStatus
(#4636)
[jest-editor-support]
Better monorepo support(#4572)
[jest-environment-jsdom]
Add simple rAF polyfill in jsdom environment towork with React 16 (#4568)
[jest-environment-node]
Implement node Timer api(#4622)
[jest-jasmine2]
Add testPath to reporter callbacks(#4594)
[jest-mock]
Added support for naming mocked functions with.mockName(value)
and.mockGetName()
(#4586)
[jest-runtime]
Addmodule.loaded
, and makemodule.require
not enumerable(#4623)
[jest-runtime]
Addmodule.parent
(#4614)
[jest-runtime]
Support sourcemaps in transformers(#3458)
[jest-snapshot]
[BREAKING] Add a serializer forjest.fn
to allow asnapshot of a jest mock (#4668)
[jest-worker]
Initial version of parallel worker abstraction, say hello!(#4497)
[jest-jasmine2]
AddtestLocationInResults
flag to add location informationper spec to test results (#4782)
[jest-environment-jsdom]
Update JSOM to 11.4, which includes built-insupport for
requestAnimationFrame
(#4919)
[jest-cli]
Hide watch usage output when running on non-interactiveenvironments (#4958)
[jest-snapshot]
Promises support fortoThrowErrorMatchingSnapshot
(#4946)
[jest-cli]
Explain which snapshots are obsolete(#5005)
Chore & Maintenance
[docs]
Add guide of using with puppeteer(#5093)
[jest-util]
jest-util
should not depend onjest-mock
(#4992)
[*]
[BREAKING] Drop support for Node.js version 4(#4769)
[docs]
Wrap code comments at 80 characters(#4781)
[eslint-plugin-jest]
Removed from the Jest core repo, and moved tohttps://github.com/jest-community/eslint-plugin-jest
(#4867)
[babel-jest]
Explicitly bump istanbul to newer versions(#4616)
[expect]
Upgrade mocha and rollup for browser testing(#4642)
[docs]
Add info aboutcoveragePathIgnorePatterns
(#4602)
[docs]
Add Vuejs series of testing with Jest(#4648)
[docs]
Mention about optionaldone
argument in test function(#4556)
[jest-cli]
Bump node-notifier version(#4609)
[jest-diff]
Simplify highlight for leading and trailing spaces(#4553)
[jest-get-type]
Add support for date(#4621)
[jest-matcher-utils]
Callchalk.inverse
for trailing spaces(#4578)
[jest-runtime]
Add.advanceTimersByTime
; keep.runTimersToTime()
as analias.
[docs]
Include missing dependency in TestEnvironment sample code[docs]
Add clarification for hook execution order[docs]
Updateexpect.anything()
sample code(#5007)
v22.0.1
Fixes
[jest-runtime]
fix error for test files providing coverage.(#5117)
Features
[jest-config]
AddforceCoverageMatch
to allow collecting coverage fromignored files. (#5081)
v22.0.2
Chore & Maintenance
[*]
Tweaks to better support Node 4(#5134)
v22.0.3
Chore & Maintenance
[*]
Tweaks to better support Node 4(#5134)
v22.0.6
Fixes
[jest-jasmine2]
Fix memory leak in snapshot reporting(#5279)
[jest-config]
Fix breaking change in--testPathPattern
(#5269)
[docs]
Document caveat with mocks, Enzyme, snapshots and React 16(#5258)
v22.1.0
Features
[jest-cli]
Make Jest exit without an error when no tests are found in thecase of
--lastCommit
,--findRelatedTests
, or--onlyChanged
optionshaving been passed to the CLI
[jest-cli]
Add interactive snapshot mode(#3831)
Fixes
[jest-cli]
Useimport-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 effecteven when
--onlyChanged
is not specified.(#5307)
Chore & Maintenance
[filenames]
Standardize folder names underintegration-tests/
(#5298)
Commits
v22.4.3
4576dd4
Providerequire.main
property (#5618)da90886
Add note about Node version support in README and docs. Fixes #4947 (#5622)6ee2a14
Update to docs to use yarn (#5624)79533a9
Small polish to the plugins API (#5572)ca8910f
Remove debug snapshot (#5627)7bcdc8c
Examples/standardize folder names (#5626)6ab04b7
add versioned documentation to the website (#5541)23eec74
[WIP] Remove usage ofretainLines
(#5594)4b6f850
Update documentation on automocking (#5630)1203ed6
[jest-editor-support] update TypeScript definition (#5625)67d1e47
Add how to mock scoped modules to Manual Mocks doc (#5638)e9825d3
update istanbul-api (#5637)497be76
Jest got too popular (#5639)f020182
fix(watchman): Parallelize Watchman calls in crawler again (#5640)52bbb26
Release v22.4.1cdd5dfe
Force haste map regeneration on deserialization error (#5642)83a51cc
Release v22.4.2a6aa304
Update node_modules_path to resolve symlinks to real paths (#5085)6b5ae01
Fixtures / Standardize folder names (#5632)0d1420c
Use outputStream instead of stdout for output file (#4858)196d9b8
Improve description line when assertion fails: part 2 (#5512)c91ee66
Lint markdown in CI (#5645)64cbf36
tests(colors): Force-disable colors on tests for consistent snapshots (#5646)c88da54
use prettylint for markdown (#5651)1ade8ce
tests(chalk): Force chalk to on in matcher tests for consistency (#5652)457776b
Fix good first issue link in README.md (#5656)96d5453
Updatejest-editor-support
Settings
to use spawn in shell option (#5658)fa05b4f
Add error throwing to 'it'/'test' for incorrect arguments. (#5558)0c760cc
add support for expect(spy).nthCalledWith(int, args...) (#5605)b789dca
Update documentation about toHaveProperty (#5668)f6f0c9c
Fix: unbreak master (#5672)e12cab6
Improve the error message when 2 projects resolve to the same config (#5674)d584277
don't build mocks (#5680)158a76f
jest-circus test utils (#5636)43306c5
don't usemaster
as hg bookmark name (#5679)f43f0db
Update dependencies (#5681)a2a9dda
add empty .watchmanconfig (#5683)e38cf6d
don't use watchman in MPR test (#5678)e6659b8
Add jest community section to docs (#5675)9667765
Remove needless replace by regexp (#5686)303c078
Update MockFunctionAPI doc to be consistent like other API docs (#5684)608feac
Fix restore-cache issue on CircleCi (#5688)a88d3c5
Fix MoreResources.md react link (#5690)4037b79
Add parseInt, parseFloat and isNaN to mock whitelist (#5691)3f59552
remove retainLines from coverage instrumentation (#5692)48560bf
fixes #5531 (#5532)f877284
Fix update snapshot when mode: watchAll (#5696)fbe05d3
Example should use always the latest React version (#5700)aef82a2
Add some docs on usingjest.mock(...)
(#5648)27a1dc6
[WIP] Make toThrow matcher pass only if Error-like object is returned from promises (#5670)5fabc34
Add fsChange hook for plugins (#5708)1ab41c3
Set compact to false to avoid Babel warnings on large files (Fixes #5703) (#5704)f7171b9
Add rootDir to runtime FileNotFound error message (#5693) (#5702)74bf072
Add changelog for fileChange and update fs -> file (#5713)42c1d75
add inverse expect asymmetric matchers (#5517)52dad15
add examples to the inverse matcher docs (#5723)e9aa321
implement mockResolved/RejectedValue methods using mockImplementation (#5720)ecb5836
docs: Expand changelog entry for #5367 (#5719)0b076cd
Add support for debugging Jest inside the current file (#5717)3b0959a
docs: mention Jest Puppeteer Preset (#5722)469ad79
fix(expect): do not rely on 'instanceof RegExp' (#5729)9c1906e
Fix Redux link url (#5728)f1c422f
Add Aaron's talk to the website (#5732)3e82577
Add 22.4 versioned docs (#5733)5a07f5f
Enable single thread mode for runner (#5712)55daf31
docs and changelog update for nthCalledWith (#5734)77d6fec
Enhance function mocks to expose a list of returned values. (#5752)78233cb
Use valid glob pattern instead of micromatch-specific (#5744)4dd478a
manual mocks do not automatically take precedence over modules unless automock is true (#5710)727c377
Typo: Follwing (#5756)664cdbb
Custom Asymmetric Matchers (#5503)1fd3002
use gitignore in prettylint (#5759)b43764b
Fixes ordering of clearMocks in Configuring Jest (#5763)1969920
Fix impementation typo (#5774)be1aee6
add envinfo to ISSUE_TEMPLATE (#5770)2a6fc70
[jest-mock] Track thrown errors in MockFunctionState (#5764)4034718
feat: update spyOnProperty method, fixes #… (#5753)620bdca
Fix config filename (#5782)9cb1a5c
Changelog and documentation for PR #5503 (Custom asymmetric matchers) (#5784)fd7a967
Update README.md (#5777)f588a60
Fix READMEf1922ad
Improve jest-worker (up to 4x) (#5793)feeb371
Fix typo in MockFunctions.md (#5795)9599d5c
Update Troubleshooting.md (#5794)df34b20
Release v23.0.0-alpha.084b17fb
Revert "Release v23.0.0-alpha.0" (#5810)3a99e76
Update istanbul depedency to fix coverage issue (#5809)b9ed115
Update Webpack guide to use babel preset-env (#5821)442e93d
Update to React 16, handle React.Fragment better (#5816)b76afc2
Replace jest-puppeteer-preset by jest-puppeteer (#5825)9202439
Add missing changelog for #5816 (#5827)124067e
Fix typo in Es6ClassMocks.md (#5833)e566a8f
fix: update dependency explicitly for babel-plugin-istanbul (#5799)c7108ed
fix a header in changelog (#5840)6851d8b
add a descriptive error for invalid globalSetup or globalTeardown (#5835)This PR has been generated by Renovate Bot.