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

testdouble

Package Overview
Dependencies
Maintainers
5
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.2.5

Diff

Changelog

Source

v3.2.5 (2017-09-07)

Full Changelog

Closed issues:

  • Missing support for async functions? (Node 8) #284
  • redacted #283
  • Stubbing priority #280

Merged pull requests:

searls
published 3.2.4 •

Changelog

Source

v3.2.4 (2017-08-06)

Full Changelog

Closed issues:

  • td.constructor() ReferenceError: td is not defined #279
searls
published 3.2.3 •

Changelog

Source

v3.2.3 (2017-08-01)

Full Changelog

Fixed bugs:

  • Verifying a td.constructor() fails #278

Closed issues:

  • Invocation sequence testing #277
  • Cannot assign to read only property 'constructor' after updating to v3.2.x #271
searls
published 3.2.2 •

Changelog

Source

v3.2.2 (2017-06-30)

Full Changelog

Implemented enhancements:

  • Generator support #273

Merged pull requests:

  • Don't blow up when imitating a thing with generators on it #274 (searls)
searls
published 3.2.1 •

Changelog

Source

v3.2.1 (2017-06-26)

Full Changelog

Closed issues:

  • Tests failing with 'TypeError: Cannot read property 'isPrototypeOf' of null' after updating 3.2.0 #270
searls
published 3.2.0 •

Changelog

Source

v3.2.0 (2017-06-24)

Full Changelog

Implemented enhancements:

  • Single-layer property replacement is inappropriate for ES modules #262

Closed issues:

  • td.constructor() breaks instanceof #267

Merged pull requests:

  • imitate / replace things deeply (instead of shallow) #268 (searls)
searls
published 3.1.1 •

Changelog

Source
searls
published 3.1.0 •

Changelog

Source

v3.1.0 (2017-06-18)

Full Changelog

Fixed bugs:

  • td.replace throws with objects created with Object.create #257
  • getters are executed when using td.constructor() #218

Closed issues:

  • Verify that constructor is passed certain values #256
  • Is there any sample code that mock aws sdk? #251
  • Cannot use td.object with "callable objects" #232

Merged pull requests:

  • Allow stubbing of custom instances & Object.create() #264 (searls)
  • Enable tsc in ci pipeline take 2 #260 (duluca)
  • TypeScript typing thenResolve takes variable args #258 (miyu)
  • Test testdouble.js with testdouble.js! #255 (searls)
searls
published 3.0.0 •

Changelog

Source

v3.0.0 (2017-06-02)

Full Changelog

Fixed bugs:

  • Figure out babel+instanceof+constructor problems with class extension #241
  • Mocking a Class #157

Closed issues:

  • td.verify reporting after resolving promises #250
  • Replacing dependency with td.replace(path, replacement) doesn't work #249
  • Verify constructor #248
  • td.replace () breaks the cache in require #244
  • Faking internal calls #243
  • ECMAScript 2015 Classes with td.constructor() #240
  • TypeScript: Better Generic Support for td.object() #236
  • How to Replace Imported Constructor in Another File #235
  • Mocha Spec Reporter #234
  • TypeError: 'x' is not a function #233
  • Inifinite recursion problem #231
  • Invoke callback within object #230
  • Testing Constructor invocations #229
  • Stubbing chained API objects yields a warning #228

Merged pull requests:

  • Stop extending types when replacing constructors #254 (searls)
  • Fix #236; Add another overload and its test #237 (sgtoj)
searls
published 2.1.2 •

Changelog

Source

v2.1.2 (2017-03-29)

Full Changelog

Closed issues:

  • TypeError when used with node -r flag #226
  • When replacing a node library calling it from other modules does not work as expected #225
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