Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
jest-matchers
Advanced tools
jest 18.0.0
See https://jestjs.io/blog/2016/12/15/2016-in-jest
pit
and mockImpl
. Use it
or mockImplementation
instead.--bail
is used together with --watch
.pretty-format
is now merged into Jest.require('v8')
now works properly in a test context.expect.any
, expect.anything
, expect.objectContaining
, expect.arrayContaining
, expect.stringMatching
.snapshotSerializers
, setupFiles
, transform
, testRunner
and testResultsProcessor
instead of using path.resolve
.--testResultsProcessor
is now exposed through the cli.--jsonOutputFile
to --outputFile
.jest-editor-support
for vscode and Nuclide integration.test.concurrent
unhandled promise rejections.testRegex
to include test.js
and spec.js
files.babel-plugin-jest-hoist
when using jest.mock
with three arguments.JSON
global in jest-environment-node
now comes from the vm context instead of the parent context.FakeTimers.useTimers()
is called.JEST_HIDE_USAGE
.expect.assertions(number)
which will ensure that a specified amount of assertions is made in one test..toMatchSnapshot(?string)
feature to give snapshots a name.jest-react-native
was deprecated and now forwards react-native
..toMatchObject
matcher.NaN% Failed
in the OS notification when using --notify
..toHaveProperty
matcher.Map
/Set
comparisons.test.concurrent
now works with --testNamePattern
.FAQs
Unknown package
The npm package jest-matchers receives a total of 212,639 weekly downloads. As such, jest-matchers popularity was classified as popular.
We found that jest-matchers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.