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

@jest/fake-timers

Package Overview
Dependencies
Maintainers
3
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/fake-timers - npm Package Versions

1
12

27.2.4

Diff

Changelog

Source

27.2.4

Features

  • [expect] Add equality checks for Array Buffers in expect.ToStrictEqual() (#11805)

Fixes

  • [jest-snapshot] Correctly indent inline snapshots (#11560)
simenb
published 27.2.3 •

Changelog

Source

27.2.3

Features

  • [@jest/fake-timers] Update @sinonjs/fake-timers to v8 (#11879)

Fixes

  • [jest-config] Parse testEnvironmentOptions if received from CLI (#11902)
  • [jest-reporters] Call destroy on v8-to-istanbul converters to free memory (#11896)
simenb
published 27.2.2 •

Changelog

Source

27.2.2

Fixes

  • [jest-runtime] Correct wrapperLength value for ESM modules. (#11893)
simenb
published 27.2.0 •

Changelog

Source

27.2.0

Features

  • [jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#11859)
  • [jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#11863)

Fixes

  • [@jest/reporters] Use async transform if available to transform files with no coverage (#11852)
  • [jest-util] Return correct value from process.send stub (#11799)
simenb
published 27.1.1 •

Changelog

Source

27.1.1

Features

  • [jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)

Fixes

  • [jest-resolver] Support node: prefix when importing Node core modules with ESM (#11817)
  • [jest-types] Export the PrettyFormatOptions interface (#11801)
simenb
published 27.1.0 •

Changelog

Source

27.1.0

Features

  • [jest-haste-map] Use watchman suffix-set option for faster file indexing. (#11784)
  • [jest-cli] Adds a new config options snapshotFormat which offers a way to override any of the formatting settings which come with pretty-format. (#11654)
  • [jest-reporters] Expose the getSummary util (#11695).
  • [jest-resolver] Support node: prefix when importing Node core modules (#11331)

Fixes

  • [jest-each] Relaxed the validation to allow multibyte characters in headings (#11575)
  • [jest-environment-jsdom] Add support for userAgent option (#11773)
  • [jest-environment-node] Add Event and EventTarget to node global environment. (#11727)
  • [jest-mock] Fix spyOn to use Object.prototype.hasOwnProperty (#11721)
  • [jest-resolver] Add dependency on jest-haste-map (#11759)
  • [jest-types] Compat with @types/node v16 (#11645)

Chore & Maintenance

  • [docs] Correct expects.assertions documentation by adding async/await for asynchronous function.
simenb
published 27.0.6 •

Changelog

Source

27.0.6

Fixes

  • [*] Publish all modules to include the build change in (#11569)
simenb
published 27.0.5 •

Changelog

Source

27.0.5

Features

  • [@jest/fake-timers] Flush callbacks scheduled with requestAnimationFrame every 16ms when using legacy timers. (#11567)
  • [pretty-format] Use globalThis (with polyfill if required) to bring support for esbuild's browser bundling mode (#11569)

Fixes

  • [jest-core] Support special characters like @, + and () on Windows with --findRelatedTests (#11548)
  • [@jest/fake-timers] Do not add setImmediate and clearImmediate if they do not exist in the global environment (#11599)
  • [@jest/reporters] Allow node-notifier@10 as peer dependency (#11523)
  • [@jest/reporters] Update v8-to-istanbul (#11523)
simenb
published 27.0.3 •

Changelog

Source

27.0.3

Fixes

  • [jest-config] require.resolve on default test sequencer and test environment (#11482)
  • [jest-mock] Fixed fn and spyOn exports (#11480)
simenb
published 27.0.2 •

Changelog

Source

27.0.2

Features

  • [jest-circus] Add some APIs to make it easier to build your own test runner
  • [jest-reporters] Expose the getResultHeader util (#11460)
  • [jest-resolver] Export resolve* utils for different Jest modules (#11466)
  • [@jest/test-result] Export Test, TestEvents and TestFileEvent (#11466)

Fixes

  • [jest-circus] Add missing slash dependency (#11465)
  • [jest-circus, @jest/test-sequencer] Remove dependency on jest-runner (#11466)
  • [jest-config] Resolve config.runner to absolute path (#11465)
  • [jest-config] Make sure to support functions as config (#11475)
  • [jest-core] Do not warn about DNSCHANNEL handles when using the --detectOpenHandles option (#11470)
  • [jest-runner] Remove dependency on jest-config (#11466)
  • [jest-worker] Loosen engine requirement to >= 10.13.0 (#11451)
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