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

testdouble

Package Overview
Dependencies
Maintainers
2
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testdouble - npm Package Versions

13
12

3.16.6

Diff

searls
published 3.16.5 •

Changelog

Source

3.16.5

  • Improve type definition for stubbing a sequence of promises #481
searls
published 3.16.4 •

Changelog

Source

3.16.4

  • Update quibble
searls
published 3.16.3 •

Changelog

Source

3.16.3

  • Fix replaceEsm for the latest release of Node 16, which changed the loader interface. See #474 and quibble#54
searls
published 3.16.2 •

Changelog

Source

3.16.2

  • Handle cases where deep-cloning arguments fails. If cloneArgs is specified on a stubbing or verification, the error will be propagated and thrown, otherwise it will be swallowed and td.explain will warn the user that clone failed (and therefore its log message may be inaccurate). See #469
searls
published 3.16.1 •

Changelog

Source

3.16.1

  • Upgrade quibble to fix ESM replacement
searls
published 3.16.0 •

Changelog

Source

3.16.0

  • Add new td.instance() method which is a one-liner of FakeFoo = td.constructor(Foo); new FakeFoo() #448
searls
published 3.15.0 •

Changelog

Source

3.15.0

  • Add support for faking native ES modules with td.replaceEsm() #445
searls
published 3.14.0 •

Changelog

Source

3.14.0

searls
published 3.13.1 •

Changelog

Source

3.13.1

  • Fixes cases where test double objects are passed into when or verify #427
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