All Versions
96
Latest Version
Avg Release Cycle
33 days
Latest Release
-

Changelog History
Page 6

  • v2.0.2 Changes

    March 17, 2017

    โœ… Full Changelog

    Closed issues:

    • โœ… Mocking a constructor function with no prototypes does not correctly mock static methods #208
    • โœ… Test td.function() after other td fuction() #202
    • โœ… How do I stub a function that being promisify'd by bluebird? #200

    ๐Ÿ”€ Merged pull requests:

  • v2.0.1 Changes

    March 13, 2017
  • v2.0.0 Changes

    March 13, 2017

    โœ… Full Changelog

    Closed issues:

    • โœ… How can I write a test for such situation? #199
    • โœ… contains not working against IIFE objects #192
    • โœ… td.verify not returning true when true #191
    • โœ… Typing definition for td.object doesn't support constructors with arguments #184
    • โœ… Replacing methods on window.location #183
    • โœ… stub also verified warning when using ignoreExtraArgs #181
    • โœ… [BREAKING] Return constructor for td.replace\(\) #166
    • ๐Ÿ‘ Allow matchers inside objects #160
    • ๐Ÿ‘Œ Support invoking callbacks with arbitrary timing #106

    ๐Ÿ”€ Merged pull requests:

    • โœ… Async callbacks #205 (searls)
    • โœ… Create test double functions and copy/fake their properties #204 (searls)
    • ๐Ÿ‘Œ Support deep matchers #203 (searls)
    • โœ… introduce td.constructor() as top-level API sibling to td.object() & td.function() #201 (searls)
    • ๐Ÿ‘ Allow Babel compilation #197 (searls)
    • ๐Ÿ‘Œ Improves warning when verifying a stub #196 (samjonester)
    • โœ… Yarn #195 (searls)
    • โœ… Creates Better Verification Message #194 (samjonester)
    • โœ… Replace constructors with constructors #193 (searls)
  • v1.11.2 Changes

    February 28, 2017

    โœ… 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:

    • ๐Ÿ‘Œ Improve the error message when using Proxy incorrectly. #190 (Schoonology)
  • v1.11.1 Changes

    January 27, 2017

    โœ… Full Changelog

    Closed issues:

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

    ๐Ÿ”€ Merged pull requests:

  • v1.11.0 Changes

    January 17, 2017

    โœ… 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)
  • v1.10.2 Changes

    December 31, 2016

    โœ… 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:

  • v1.10.1 Changes

    December 20, 2016

    โœ… 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:

  • v1.10.0 Changes

    December 11, 2016

    โœ… 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)
  • v1.9.1 Changes

    December 03, 2016

    โœ… 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: