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

testdouble

Package Overview
Dependencies
Maintainers
4
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testdouble - npm Package Versions

1
12

3.5.0

Diff

Changelog

Source

v3.5.0 (2018-02-11)

Full Changelog

Closed issues:

  • Warn jest users when they call td.replace(moduleName) and point them to testdouble-jest #337
  • td.replace doesn't work with Jest #331

Merged pull requests:

searls
published 3.4.0 •

Changelog

Source

v3.4.0 (2018-02-10)

Full Changelog

Fixed bugs:

  • The webpack example project doesn't work #334

Closed issues:

  • Update Getting Started to pass instance object instead of constructor to td.object() #329

Merged pull requests:

searls
published 3.3.5 •

searls
published 3.3.4 •

Changelog

Source

v3.3.4 (2018-02-09)

Full Changelog

Merged pull requests:

jasonkarns
published 3.3.3 •

Changelog

Source

v3.3.3 (2018-01-18)

Full Changelog

Fixed bugs:

  • Cannot convert a Symbol value to a string #300

Closed issues:

  • Stubbing function from same module under test not replacing real implementation #325
  • td.replace does not follow node_modules symlinks since v3.3.2 #324
  • td.explain does not work on new instance of td.replace('lib') #323
  • td.object(undefined) allowes to call any method #321
  • td.replace('mongoose') throws exception #316

Merged pull requests:

searls
published 3.3.2 •

Changelog

Source

v3.3.2 (2018-01-16)

Full Changelog

Fixed bugs:

  • td.replace() on an un-parseable source will claim the module is missing instead of printing the parse error #320

Closed issues:

  • thenThrow does not work if stub passed down #319

Merged pull requests:

searls
published 3.3.1 •

Changelog

Source
searls
published 3.3.0 •

Changelog

Source

v3.3.0 (2017-12-26)

Full Changelog

Merged pull requests:

searls
published 3.2.7 •

Changelog

Source

v3.2.7 (2017-12-20)

Full Changelog

Fixed bugs:

  • Disallow captors in td.when\(...\) #308

Closed issues:

  • Unexpected output with td.matchers.isA(Function) #307
  • Different objects created using the same constructor function obtained using td.constructor share the same stubs #305
  • Using invocation verification with QUnit #304
  • example tests don't work on latest master #302
  • Error when running install inside testdouble.js #298
  • Can I use test double with enzyme on client end to test if method runs on button click ? #297
  • Node module mocking with td.replace() #294
  • replacing a nested dependency does not get reset correctly #293
  • How to verify the value of "this" keyword on a call? #292
  • How to mock typescript fields #291

Merged pull requests:

searls
published 3.2.6 •

Changelog

Source

v3.2.6 (2017-09-18)

Full Changelog

Merged pull requests:

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