Socket
Socket
Sign inDemoInstall

spy4js

Package Overview
Dependencies
1
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
8Next

2.6.0

Diff

Changelog

Source

[2.6.0] - 2019-08-15

Added

  • Improved comparison for BigInt and AsyncFunction
vluft
published 2.5.0 •

Changelog

Source

[2.5.0] - 2019-05-21

Added

  • TypeScript support

Changed

  • Improved types for Spy.on and Spy.mock (this might lead to new type errors)
vluft
published 2.4.0 •

vluft
published 2.3.3 •

vluft
published 2.3.2 •

Changelog

Source

[2.3.2] - 2019-03-01

Changed

  • improved IDE support by distributing with Rollup
vluft
published 2.3.1 •

Changelog

Source

[2.3.1] - 2018-12-05

Added

  • Snapshot serialization for jest snapshots improved
vluft
published 2.3.0 •

vluft
published 2.2.0 •

Changelog

Source

[2.2.0] - 2018-12-02

Added

  • Spy.resetAll: Calls the reset for all ever instantiated spies.

Changed

  • The default afterEach Test-Suite-Hook now also calls Spy.resetAll. Therefore created spies should not be able to effect other tests. Since the reset operation is a very cheap operation, this change should not effect the performance of your tests visibly. If any of your tests should break, consider to clean those up, because you should not write conditionally related tests, if it is avoidable.
vluft
published 2.1.3 •

vluft
published 2.1.1 •

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc