testdouble.js (AKA td.js) v3.12.0 Release Notes

Release Date: 2019-06-08 // almost 5 years ago
  • Full Changelog

    Closed issues:

    • ✅ Challenges testing mutable objects #416
    • ✅ How to stub out instance methods and replace dependencies when writing a request test? #414
    • ✅ Mocking Behavior Similar To Rspec: expect to receive and return #413
    • 🔧 How can I verify a call to a stub which is configured to throw? #412
    • ✅ td.replace a double arrow function #411
    • ✅ Unable to replace mongoose.model #410
    • ✅ Cannot test testdoubles inside .then function. #409
    • ✅ How to test a error subscription #408
    • ✅ Arguments of mocked functions are saved by reference. #375

    🔀 Merged pull requests:

    • ➕ add cloneArgs option to td.when/td.verify #417 (searls)