Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-jest

Package Overview
Dependencies
Maintainers
6
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-jest - npm Package Versions

1
2628

12.0.2

Diff

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().
cpojer
published 11.0.0 •

Changelog

Source

jest-cli 11.0.0, babel-jest 11.0.0 (pre-releases 0.9 to 0.10)

  • New implementation of node-haste and rewrite of internal module loading and resolution. Fixed both startup and runtime performance. #599
  • Jasmine 2 is now the default test runner. To keep using Jasmine 1, put testRunner: "jasmine1" into your configuration.
  • Added jest-util, jest-mock, jest-jasmine1, jest-jasmine2, jest-environment-node, jest-environment-jsdom packages.
  • Added babel-jest-preset and babel-jest as packages. babel-jest is now being auto-detected.
  • Added babel-plugin-jest-hoist which hoists jest.unmock, jest.mock and the new jest.enableAutomock and jest.disableAutomock API.
  • Improved babel-jest integration and react-native testing.
  • Improved code coverage reporting when using babel-jest.
  • Added the jest.mock('moduleName', moduleFactory) feature. jest.mock now gets hoisted by default. jest.doMock was added to explicitly mock a module without the hoisting feature of babel-jest.
  • Updated jsdom to 8.3.x.
  • Improved responsiveness of the system while using --watch.
  • Clear the terminal window when using --watch.
  • By default, --watch will now only runs tests related to changed files. --watch=all can be used to run all tests on file system changes.
  • Debounce --watch re-runs to not trigger test runs during a branch switch in version control.
  • Added jest.fn() and jest.fn(implementation) as convenient shortcuts for jest.genMockFunction() and jest.genMockFunction().mockImplementation().
  • Added an automock option to turn off automocking globally.
  • Added a "no tests found" message if no tests can be found.
  • Jest sets process.NODE_ENV to test unless otherwise specified.
  • Fixed moduleNameMapper config option when used with paths.
  • Fixed an error with Jasmine 2 and tests that throw 'string errors'.
  • Fixed issues with unmocking symlinked module names.
  • Fixed mocking of boolean values.
  • Fixed mocking of fields that start with an underscore ("private fields").
  • Fixed unmocking behavior with npm3.
  • Fixed and improved --onlyChanged option.
  • Fixed support for running Jest as a git submodule.
  • Improved verbose logger output
  • Fixed test runtime error reporting and stack traces.
  • Improved toBeCalled Jasmine 2 custom matcher messages.
  • Improved error reporting when a syntax error occurs.
  • Renamed HasteModuleLoader to Runtime.
  • Jest now properly reports pending tests disabled with xit and xdescribe.
  • Removed preprocessCachingDisabled config option.
  • Added a testEnvironment option to customize the sandbox environment.
  • Added support for @scoped/name npm packages.
  • Added an integration test runner for Jest that runs all tests for examples and packages.
cpojer
published 10.0.2 •

cpojer
published 10.0.1 •

cpojer
published 9.0.3 •

Changelog

Source

29.0.3

Features

  • [@jest/environment, jest-runtime] Allow passing a generic type argument to jest.createMockFromModule<T>() method (#13202)
  • [expect] Expose ExpectationResult type (#13240)
  • [jest-snapshot] Expose Context type (#13240)
  • [@jest/globals] Add jest.Mock type helper (#13235)

Fixes

  • [jest-core] Capture execError during TestScheduler.scheduleTests and dispatch to reporters (#13203)
  • [jest-resolve] Make sure to resolve module paths after looking at exports (#13242)
  • [jest-resolve] Improve error on module not found deep in the require stack (#8704)
  • [jest-snapshot] Fix typings of snapshot matchers (#13240)

Chore & Maintenance

  • [*] Fix inconsistent workspace prefixes (#13217)
  • [jest-haste-map] Expose a minimal public API to TypeScript (#13023)
cpojer
published 9.0.2 •

Changelog

Source

29.0.2

Features

  • [jest-transform] Expose TransformFactory type (#13184)

Fixes

  • [babel-plugin-jest-hoist] Support imported jest in mock factory (#13188)
  • [jest-mock] Align the behavior and return type of generateFromMetadata method (#13207)
  • [jest-runtime] Support jest.resetModules() with ESM (#13211)
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc