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

1
12

2.0.0-pre.2

Diff

searls
published 2.0.0-pre.1 •

searls
published 1.11.2 •

Changelog

Source

v1.11.2 (2017-02-28)

Full Changelog

Closed issues:

  • Stubbing promises with thenResolve does not actually provide for anything in the callback #189
  • sinon.sandbox analog? #188
  • Shortcut for new stub returning args #187
  • Can't find variable: Proxy #186

Merged pull requests:

searls
published 1.11.1 •

Changelog

Source

v1.11.1 (2017-01-27)

Full Changelog

Closed issues:

  • Is it possible to thenReturn the receiver? #182
  • Multiple stubbings with argThat causes unexpected behavior #180

Merged pull requests:

searls
published 1.11.0 •

Changelog

Source

v1.11.0 (2017-01-17)

Full Changelog

Closed issues:

  • Having something like "verifyNoFurtherInvocations(mock)" would be nice (feature request) #176

Merged pull requests:

  • feat: contains allows for regexps against strings #178 (JaKXz)
searls
published 1.10.2 •

Changelog

Source

v1.10.2 (2016-12-31)

Full Changelog

Closed issues:

  • Possible pollution issue (2 tests work individually, but fails when run together) #171
  • td.verify and td.when redundency warning #170
  • Does not work with jest #128

Merged pull requests:

searls
published 1.10.1 •

Changelog

Source

v1.10.1 (2016-12-20)

Full Changelog

Implemented enhancements:

  • Make the constructor property of td.replaced() instantiable types useful #121
  • Improve output for times verification failures #85
  • Allow argument matchers to enhance failure messages #59
  • td.constructor() feature for creating fake constructors #54

Closed issues:

  • typings for typescript #167
  • A little typo in Getting Started documentation #165
  • Unable to stub static method on ES6 classes #164
  • transcribe unusual spending kata from ES5 to ES6/babel #163
  • Classes with overridden methods not doubling properly since 1.10.0 #159
  • td.replace\(\) doesn't work with import? #147
  • Support multiple capture invocations #139
  • Constructor replacements will fail instanceof checks #107

Merged pull requests:

searls
published 1.10.0 •

Changelog

Source

v1.10.0 (2016-12-11)

Full Changelog

Implemented enhancements:

  • td.replace doesn't properly detect ES6 classes #119

Closed issues:

  • Matcher for a specific position #156

Merged pull requests:

  • Sort out replacement of especially 6+ Classes #158 (searls)
searls
published 1.9.1 •

Changelog

Source

v1.9.1 (2016-12-03)

Full Changelog

Implemented enhancements:

  • td.replace for functions that have additional function properties #99

Closed issues:

  • Is testdouble.js not compatible with PhantomJS? #154
  • Model instance creation assistance #149
  • Excessive warn "was both stubbed and verified" #148

Merged pull requests:

searls
published 1.9.0 •

Changelog

Source

v1.9.0 (2016-10-25)

Full Changelog

Implemented enhancements:

  • Note when ignoreExtraArgs is used for a failed verification #60

Closed issues:

  • td.replace multiple property names at once #146
  • Consider ignoreExtraArgs method instead of parameter #143

Merged pull requests:

  • Gives better hint when verification fails while ignoring extra args #150 (samjonester)
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