Socket
Socket
Sign inDemoInstall

jest-mock

Package Overview
Dependencies
2
Maintainers
6
Versions
237
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
20212224Next

12.1.3-alpha.6230044c

Diff

cpojer
published 12.1.2-alpha.6230044c •

cpojer
published 12.1.2-alpha.a482b15c •

cpojer
published 12.1.1-alpha.2935e14d •

cpojer
published 12.1.0 •

Changelog

Source

jest-cli 12.1.0

  • Jest is now also published in the jest package on npm.
  • Added testRegex to match for tests outside of specific folders. Deprecated both testDirectoryName and testFileExtensions.
  • it can now return a Promise for async testing. pit was deprecated.
  • Added jest-resolve as a standalone package based on the Facebook module resolution algorithm.
  • Added jest-changed-files as a standalone package to detect changed files in a git or hg repo.
  • Added --setupTestFrameworkFile to cli.
  • Added support for coverage thresholds. See https://jestjs.io/docs/configuration#coveragethreshold-object.
  • Updated to jsdom 9.0.
  • Updated and improved stack trace reporting.
  • Added module.filename and removed the invalid module.__filename field.
  • Further improved the lastCalledWith and toBeCalledWith custom matchers. They now print the most recent calls.
  • Fixed jest-haste-map on continuous integration systems.
  • Fixes for hg/git integration.
  • Added a re-try for the watchman crawler.
cpojer
published 12.0.2 •

Changelog

Source

jest-cli 12.0.2

  • Bug fixes when running a single test file and for scoped package names.
cpojer
published 12.0.1 •

Changelog

Source

jest-cli 12.0.1

  • Added custom equality matchers for Map/Set and iterables.
  • Bug fixes
cpojer
published 12.0.0 •

Changelog

Source

jest-cli 12.0.0

  • Reimplemented node-haste as jest-haste-map: https://github.com/facebook/jest/pull/896
  • Fixes for the upcoming release of nodejs 6.
  • Removed global mock caching which caused negative side-effects on test runs.
  • Updated Jasmine from 2.3.4 to 2.4.1.
  • Fixed our Jasmine fork to work better with Object.create(null).
  • Added a --silent flag to silence console messages during a test run.
  • Run a test file directly if a path is passed as an argument to Jest.
  • Added support for the undocumented nodejs feature module.paths.
kentaromiura
published 11.0.2 •

Changelog

Source

jest-cli 11.0.2

  • Fixed jest -o error when Mercurial isn't installed on the system
  • Fixed Jasmine failure message when expected values were mutated after tests.
cpojer
published 11.0.1 •

Changelog

Source

jest-cli 11.0.1, babel-jest 11.0.1

  • Added support for Mercurial repositories when using jest -o
  • Added mockImplementationOnce API to jest.fn().
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc