Justin Searls
Justin Searls
Thanks for digging into this. Ultimately, if you (or another developer that uses Windows) might consider sending a PR with a test for this that they can assert works OK...
I believe this can be accomplished by setting a function to the `name` attribute. See [isA](https://github.com/testdouble/testdouble.js/blob/master/src/matchers/builtin/is-a.js#L6-L8). Should be a simple patch to captor [here](https://github.com/testdouble/testdouble.js/blob/master/src/matchers/builtin/captor.js#L6)
I believe this will be fixed once the never-ending rewrite is done, because of the way the in-memory store persists its awareness of doubles.
Pre 3.2, generators were naively replaced like any other function, but they don't really behave like regular functions, so 3.2.2 formally drops support (it no longer attempts to replace them...
Tracking the enhancment in #276
Hey @schoonology what do you think of this given your hatred of function.length?
The value of this is it's one of the (in JS, very very) few places where we can give people a heads up that the contract between a subject and...
@samjonester two reactions: 1. That's why I'd only suggest a warning plus a per-stubbing option to ignore it 2. The purpose of td.js is to help design good dependencies, and...
There are no messages for stubbings (when would there be?)
Sure! This could be a flag you send to reset, so that `reset(true)` could print the warnings