UNPKG

63.9 kBMarkdownView Raw
1# Change Log
2
3## 3.16.5
4
5* Improve type definition for stubbing a sequence of promises
6 [#481](https://github.com/testdouble/testdouble.js/pull/481)
7
8## 3.16.4
9
10* Update quibble
11
12## 3.16.3
13
14* Fix `replaceEsm` for the latest release of Node 16, which changed the loader
15 interface. See [#474](https://github.com/testdouble/testdouble.js/issues/474)
16 and [quibble#54](https://github.com/testdouble/quibble/pull/54)
17
18## 3.16.2
19
20* Handle cases where deep-cloning arguments fails. If `cloneArgs` is specified
21 on a stubbing or verification, the error will be propagated and thrown,
22 otherwise it will be swallowed and td.explain will warn the user that clone
23 failed (and therefore its log message may be inaccurate). See
24 [#469](https://github.com/testdouble/testdouble.js/pull/469/files)
25
26## 3.16.1
27
28* Upgrade quibble to fix ESM replacement
29
30## 3.16.0
31
32* Add new `td.instance()` method which is a one-liner of `FakeFoo = td.constructor(Foo); new FakeFoo()` [#448](https://github.com/testdouble/testdouble.js/pull/448)
33
34## 3.15.0
35
36* Add support for faking native ES modules with `td.replaceEsm()` [#445](https://github.com/testdouble/testdouble.js/pull/445)
37
38## 3.14.0
39
40* Type updates [#437](https://github.com/testdouble/testdouble.js/pull/437)
41
42## 3.13.1
43
44* Fixes cases where test double objects are passed into `when` or `verify`
45 [#427](https://github.com/testdouble/testdouble.js/pull/427)
46
47## Automated changelog (pre-3.13.0) - github_changelog_generator stopped working for us
48
49## [v3.12.4](https://github.com/testdouble/testdouble.js/tree/v3.12.4) (2019-08-21)
50[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.3...v3.12.4)
51
52## [v3.12.3](https://github.com/testdouble/testdouble.js/tree/v3.12.3) (2019-08-04)
53[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.2...v3.12.3)
54
55**Closed issues:**
56
57- Destructuring support fail. [\#424](https://github.com/testdouble/testdouble.js/issues/424)
58
59**Merged pull requests:**
60
61- Add cloneArgs to VerificationConfig type [\#425](https://github.com/testdouble/testdouble.js/pull/425) ([lumaxis](https://github.com/lumaxis))
62
63## [v3.12.2](https://github.com/testdouble/testdouble.js/tree/v3.12.2) (2019-07-16)
64[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.1...v3.12.2)
65
66**Merged pull requests:**
67
68- Update dependencies [\#423](https://github.com/testdouble/testdouble.js/pull/423) ([lumaxis](https://github.com/lumaxis))
69- Run CI also on Node 10 [\#422](https://github.com/testdouble/testdouble.js/pull/422) ([lumaxis](https://github.com/lumaxis))
70
71## [v3.12.1](https://github.com/testdouble/testdouble.js/tree/v3.12.1) (2019-07-03)
72[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.12.0...v3.12.1)
73
74**Closed issues:**
75
76- MockService Not Working in Angular 8 [\#420](https://github.com/testdouble/testdouble.js/issues/420)
77- ReferenceError: td is not defined [\#418](https://github.com/testdouble/testdouble.js/issues/418)
78
79**Merged pull requests:**
80
81- \[Issue-370\] - Update createTestDoublesForFunctionNames to return an object [\#421](https://github.com/testdouble/testdouble.js/pull/421) ([bannmoore](https://github.com/bannmoore))
82
83## [v3.12.0](https://github.com/testdouble/testdouble.js/tree/v3.12.0) (2019-06-08)
84[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.11.0...v3.12.0)
85
86**Closed issues:**
87
88- Challenges testing mutable objects [\#416](https://github.com/testdouble/testdouble.js/issues/416)
89- How to stub out instance methods and replace dependencies when writing a request test? [\#414](https://github.com/testdouble/testdouble.js/issues/414)
90- Mocking Behavior Similar To Rspec: expect to receive and return [\#413](https://github.com/testdouble/testdouble.js/issues/413)
91- How can I verify a call to a stub which is configured to throw? [\#412](https://github.com/testdouble/testdouble.js/issues/412)
92- td.replace a double arrow function [\#411](https://github.com/testdouble/testdouble.js/issues/411)
93- Unable to replace mongoose.model [\#410](https://github.com/testdouble/testdouble.js/issues/410)
94- Cannot test testdoubles inside .then function. [\#409](https://github.com/testdouble/testdouble.js/issues/409)
95- How to test a error subscription [\#408](https://github.com/testdouble/testdouble.js/issues/408)
96- Arguments of mocked functions are saved by reference. [\#375](https://github.com/testdouble/testdouble.js/issues/375)
97
98**Merged pull requests:**
99
100- add cloneArgs option to td.when/td.verify [\#417](https://github.com/testdouble/testdouble.js/pull/417) ([searls](https://github.com/searls))
101
102## [v3.11.0](https://github.com/testdouble/testdouble.js/tree/v3.11.0) (2019-02-24)
103[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.10.0...v3.11.0)
104
105**Merged pull requests:**
106
107- allow for deeply nested test double objects [\#407](https://github.com/testdouble/testdouble.js/pull/407) ([searls](https://github.com/searls))
108- have the deep nested proxy work with explain [\#406](https://github.com/testdouble/testdouble.js/pull/406) ([lgandecki](https://github.com/lgandecki))
109
110## [v3.10.0](https://github.com/testdouble/testdouble.js/tree/v3.10.0) (2019-02-02)
111[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.3...v3.10.0)
112
113**Closed issues:**
114
115- 2 consecutive 'when\(...\).thenTrow\(...\)' expectations crashes [\#403](https://github.com/testdouble/testdouble.js/issues/403)
116- Remove es6-map polyfill [\#367](https://github.com/testdouble/testdouble.js/issues/367)
117- How to mock typescript abstract class? [\#356](https://github.com/testdouble/testdouble.js/issues/356)
118
119**Merged pull requests:**
120
121- Remove unnecessary dependency on es6-map. [\#405](https://github.com/testdouble/testdouble.js/pull/405) ([primarilysnark](https://github.com/primarilysnark))
122- docs: Correct broken link to testdouble-qunit [\#404](https://github.com/testdouble/testdouble.js/pull/404) ([jasonmit](https://github.com/jasonmit))
123
124## [v3.9.3](https://github.com/testdouble/testdouble.js/tree/v3.9.3) (2019-01-16)
125[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.2...v3.9.3)
126
127**Merged pull requests:**
128
129- Typescript usage docs [\#401](https://github.com/testdouble/testdouble.js/pull/401) ([lgandecki](https://github.com/lgandecki))
130- Explain object [\#398](https://github.com/testdouble/testdouble.js/pull/398) ([robwold](https://github.com/robwold))
131
132## [v3.9.2](https://github.com/testdouble/testdouble.js/tree/v3.9.2) (2018-12-31)
133[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.1...v3.9.2)
134
135**Closed issues:**
136
137- Call a Callback Multiple Times [\#397](https://github.com/testdouble/testdouble.js/issues/397)
138- TypeScript: Update Definition [\#395](https://github.com/testdouble/testdouble.js/issues/395)
139
140**Merged pull requests:**
141
142- allow for creating testdoubles using interface only [\#400](https://github.com/testdouble/testdouble.js/pull/400) ([lgandecki](https://github.com/lgandecki))
143
144## [v3.9.1](https://github.com/testdouble/testdouble.js/tree/v3.9.1) (2018-11-29)
145[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.9.0...v3.9.1)
146
147**Closed issues:**
148
149- td.replace before it vs td.replace inside of it [\#394](https://github.com/testdouble/testdouble.js/issues/394)
150- Add sticky `td.reset.onReset` hook [\#377](https://github.com/testdouble/testdouble.js/issues/377)
151
152**Merged pull requests:**
153
154- Add type information for imitation to the exported typings file [\#396](https://github.com/testdouble/testdouble.js/pull/396) ([lisamai](https://github.com/lisamai))
155
156## [v3.9.0](https://github.com/testdouble/testdouble.js/tree/v3.9.0) (2018-11-20)
157[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.8.2...v3.9.0)
158
159**Closed issues:**
160
161- There are legitimate cases to use td.verify [\#389](https://github.com/testdouble/testdouble.js/issues/389)
162- TypeError on td.replace\('aws-sdk'\) [\#388](https://github.com/testdouble/testdouble.js/issues/388)
163- Multiple stubs, count wrong? [\#387](https://github.com/testdouble/testdouble.js/issues/387)
164
165**Merged pull requests:**
166
167- Add onReset hook. [\#393](https://github.com/testdouble/testdouble.js/pull/393) ([primarilysnark](https://github.com/primarilysnark))
168- fix simple typos [\#392](https://github.com/testdouble/testdouble.js/pull/392) ([lpmi-13](https://github.com/lpmi-13))
169- feat: Add ava tests examples [\#385](https://github.com/testdouble/testdouble.js/pull/385) ([pke](https://github.com/pke))
170
171## [v3.8.2](https://github.com/testdouble/testdouble.js/tree/v3.8.2) (2018-10-08)
172[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.8.1...v3.8.2)
173
174**Implemented enhancements:**
175
176- Verifying stubs that return promises without warnings? [\#245](https://github.com/testdouble/testdouble.js/issues/245)
177
178**Closed issues:**
179
180- How do I verify only 1 of 2 stubbed functions was called? [\#384](https://github.com/testdouble/testdouble.js/issues/384)
181- Fake timers / mock Date [\#383](https://github.com/testdouble/testdouble.js/issues/383)
182- Getting a not a constructor error when trying to stub an external class dependency [\#382](https://github.com/testdouble/testdouble.js/issues/382)
183- how to handle async callbacks [\#380](https://github.com/testdouble/testdouble.js/issues/380)
184- mocking non-direct dependency [\#379](https://github.com/testdouble/testdouble.js/issues/379)
185- How to replace momentjs ? [\#378](https://github.com/testdouble/testdouble.js/issues/378)
186- testdouble incompatible with coverage tools? [\#374](https://github.com/testdouble/testdouble.js/issues/374)
187- td.replaced module still returning stub after a td.reset\(\) [\#373](https://github.com/testdouble/testdouble.js/issues/373)
188- Awaiting a testdouble function always resolves [\#371](https://github.com/testdouble/testdouble.js/issues/371)
189- Stub one function and use originals for rest [\#368](https://github.com/testdouble/testdouble.js/issues/368)
190- td.replace is breaking type definitions from sanctuary.js [\#327](https://github.com/testdouble/testdouble.js/issues/327)
191
192**Merged pull requests:**
193
194- upgrade everything [\#386](https://github.com/testdouble/testdouble.js/pull/386) ([searls](https://github.com/searls))
195- Fix method name typo in README example [\#369](https://github.com/testdouble/testdouble.js/pull/369) ([jackjennings](https://github.com/jackjennings))
196- Update deps [\#366](https://github.com/testdouble/testdouble.js/pull/366) ([searls](https://github.com/searls))
197
198## [v3.8.1](https://github.com/testdouble/testdouble.js/tree/v3.8.1) (2018-05-05)
199[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.8.0...v3.8.1)
200
201**Implemented enhancements:**
202
203- Better verification messages [\#161](https://github.com/testdouble/testdouble.js/issues/161)
204
205**Closed issues:**
206
207- Trouble replacing ES6 classes [\#365](https://github.com/testdouble/testdouble.js/issues/365)
208- You have a global leak: `\_\_core-js\_shared\_\_` [\#364](https://github.com/testdouble/testdouble.js/issues/364)
209- testdouble causes bluebird to emit Unhandled rejection [\#168](https://github.com/testdouble/testdouble.js/issues/168)
210- Should style API of chai.js doesn't always work on test doubles since 1.6.2 [\#134](https://github.com/testdouble/testdouble.js/issues/134)
211
212## [v3.8.0](https://github.com/testdouble/testdouble.js/tree/v3.8.0) (2018-04-29)
213[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.7.0...v3.8.0)
214
215**Implemented enhancements:**
216
217- Improve td.replace error message for incorrect module path [\#355](https://github.com/testdouble/testdouble.js/issues/355)
218
219**Closed issues:**
220
221- td.verify\(object.function\(new Class\("param"\)\)\) not asserting "param" [\#362](https://github.com/testdouble/testdouble.js/issues/362)
222- How to Stub a Chained Function [\#360](https://github.com/testdouble/testdouble.js/issues/360)
223- Critical dependency: the request of a dependency is an expression? [\#354](https://github.com/testdouble/testdouble.js/issues/354)
224
225**Merged pull requests:**
226
227- Better missing module message for td.replace\(\) [\#363](https://github.com/testdouble/testdouble.js/pull/363) ([searls](https://github.com/searls))
228
229## [v3.7.0](https://github.com/testdouble/testdouble.js/tree/v3.7.0) (2018-03-31)
230[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.6.0...v3.7.0)
231
232**Closed issues:**
233
234- Compare dates when using td.matchers.contains [\#358](https://github.com/testdouble/testdouble.js/issues/358)
235- verifiable thenThrow [\#288](https://github.com/testdouble/testdouble.js/issues/288)
236- docs: simple page that lists the entire API [\#253](https://github.com/testdouble/testdouble.js/issues/253)
237- Planning Discussion for a move to TypeScript [\#252](https://github.com/testdouble/testdouble.js/issues/252)
238- More support for ES Modules [\#246](https://github.com/testdouble/testdouble.js/issues/246)
239- Consider using \_.isObjectLike rather than \_.isPlainObject within td.object [\#224](https://github.com/testdouble/testdouble.js/issues/224)
240
241**Merged pull requests:**
242
243- Enhance contains for edge cases, make nesting behave consistently [\#359](https://github.com/testdouble/testdouble.js/pull/359) ([searls](https://github.com/searls))
244
245## [v3.6.0](https://github.com/testdouble/testdouble.js/tree/v3.6.0) (2018-03-24)
246[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.5.2...v3.6.0)
247
248**Closed issues:**
249
250- td.replace a required method? [\#353](https://github.com/testdouble/testdouble.js/issues/353)
251
252**Merged pull requests:**
253
254- Export td.quibble [\#357](https://github.com/testdouble/testdouble.js/pull/357) ([searls](https://github.com/searls))
255- Avoid implicit any for TypeScript definitions [\#351](https://github.com/testdouble/testdouble.js/pull/351) ([rayalan](https://github.com/rayalan))
256- Merge Circle CI config to master [\#349](https://github.com/testdouble/testdouble.js/pull/349) ([searls](https://github.com/searls))
257- Merge in Circle CI config [\#348](https://github.com/testdouble/testdouble.js/pull/348) ([searls](https://github.com/searls))
258
259## [v3.5.2](https://github.com/testdouble/testdouble.js/tree/v3.5.2) (2018-02-26)
260[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.5.1...v3.5.2)
261
262**Merged pull requests:**
263
264- replace quibble.browser.js with ES5 version [\#347](https://github.com/testdouble/testdouble.js/pull/347) ([davemo](https://github.com/davemo))
265- Fixed broken npm install on Windows [\#345](https://github.com/testdouble/testdouble.js/pull/345) ([duluca](https://github.com/duluca))
266- Speed up the build [\#344](https://github.com/testdouble/testdouble.js/pull/344) ([searls](https://github.com/searls))
267
268## [v3.5.1](https://github.com/testdouble/testdouble.js/tree/v3.5.1) (2018-02-25)
269[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.5.0...v3.5.1)
270
271**Closed issues:**
272
273- slow performance when replacing big modules [\#340](https://github.com/testdouble/testdouble.js/issues/340)
274- Replace method in tested file [\#339](https://github.com/testdouble/testdouble.js/issues/339)
275
276**Merged pull requests:**
277
278- Try out TypeScript [\#343](https://github.com/testdouble/testdouble.js/pull/343) ([searls](https://github.com/searls))
279- Simplify build [\#342](https://github.com/testdouble/testdouble.js/pull/342) ([searls](https://github.com/searls))
280
281## [v3.5.0](https://github.com/testdouble/testdouble.js/tree/v3.5.0) (2018-02-11)
282[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.4.0...v3.5.0)
283
284**Closed issues:**
285
286- Warn jest users when they call td.replace\(moduleName\) and point them to testdouble-jest [\#337](https://github.com/testdouble/testdouble.js/issues/337)
287- td.replace doesn't work with Jest [\#331](https://github.com/testdouble/testdouble.js/issues/331)
288
289**Merged pull requests:**
290
291- Jest support for td replace [\#338](https://github.com/testdouble/testdouble.js/pull/338) ([searls](https://github.com/searls))
292
293## [v3.4.0](https://github.com/testdouble/testdouble.js/tree/v3.4.0) (2018-02-10)
294[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.4...v3.4.0)
295
296**Fixed bugs:**
297
298- The webpack example project doesn't work [\#334](https://github.com/testdouble/testdouble.js/issues/334)
299
300**Closed issues:**
301
302- Update Getting Started to pass instance object instead of constructor to td.object\(\) [\#329](https://github.com/testdouble/testdouble.js/issues/329)
303
304**Merged pull requests:**
305
306- Publicize td.imitate\(\) [\#336](https://github.com/testdouble/testdouble.js/pull/336) ([searls](https://github.com/searls))
307- fix webpack example project [\#335](https://github.com/testdouble/testdouble.js/pull/335) ([searls](https://github.com/searls))
308- Upgrade dependencies, remove yarn [\#333](https://github.com/testdouble/testdouble.js/pull/333) ([searls](https://github.com/searls))
309
310## [v3.3.4](https://github.com/testdouble/testdouble.js/tree/v3.3.4) (2018-02-09)
311[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.3...v3.3.4)
312
313**Merged pull requests:**
314
315- Update readme, move doc outline to docs/ [\#332](https://github.com/testdouble/testdouble.js/pull/332) ([searls](https://github.com/searls))
316- Updated Getting Started to match td.object\(\)'s changes [\#330](https://github.com/testdouble/testdouble.js/pull/330) ([StanleySathler](https://github.com/StanleySathler))
317- First draft of issue template [\#328](https://github.com/testdouble/testdouble.js/pull/328) ([stevenjackson](https://github.com/stevenjackson))
318- WIP - remove dist from git [\#299](https://github.com/testdouble/testdouble.js/pull/299) ([jasonkarns](https://github.com/jasonkarns))
319
320## [v3.3.3](https://github.com/testdouble/testdouble.js/tree/v3.3.3) (2018-01-18)
321[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.2...v3.3.3)
322
323**Fixed bugs:**
324
325- Cannot convert a Symbol value to a string [\#300](https://github.com/testdouble/testdouble.js/issues/300)
326
327**Closed issues:**
328
329- Stubbing function from same module under test not replacing real implementation [\#325](https://github.com/testdouble/testdouble.js/issues/325)
330- td.replace does not follow node\_modules symlinks since v3.3.2 [\#324](https://github.com/testdouble/testdouble.js/issues/324)
331- td.explain does not work on new instance of td.replace\('lib'\) [\#323](https://github.com/testdouble/testdouble.js/issues/323)
332- td.object\(undefined\) allowes to call any method [\#321](https://github.com/testdouble/testdouble.js/issues/321)
333- td.replace\('mongoose'\) throws exception [\#316](https://github.com/testdouble/testdouble.js/issues/316)
334
335**Merged pull requests:**
336
337- Symbols must be stringified explicitly [\#301](https://github.com/testdouble/testdouble.js/pull/301) ([jasonkarns](https://github.com/jasonkarns))
338
339## [v3.3.2](https://github.com/testdouble/testdouble.js/tree/v3.3.2) (2018-01-16)
340[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.1...v3.3.2)
341
342**Fixed bugs:**
343
344- td.replace\(\) on an un-parseable source will claim the module is missing instead of printing the parse error [\#320](https://github.com/testdouble/testdouble.js/issues/320)
345
346**Closed issues:**
347
348- thenThrow does not work if stub passed down [\#319](https://github.com/testdouble/testdouble.js/issues/319)
349
350**Merged pull requests:**
351
352- Erroring on undefined for td.object [\#322](https://github.com/testdouble/testdouble.js/pull/322) ([gotenxds](https://github.com/gotenxds))
353
354## [v3.3.1](https://github.com/testdouble/testdouble.js/tree/v3.3.1) (2018-01-05)
355[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.3.0...v3.3.1)
356
357## [v3.3.0](https://github.com/testdouble/testdouble.js/tree/v3.3.0) (2017-12-26)
358[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.7...v3.3.0)
359
360**Merged pull requests:**
361
362- allow using matchers inside contains [\#317](https://github.com/testdouble/testdouble.js/pull/317) ([lgandecki](https://github.com/lgandecki))
363
364## [v3.2.7](https://github.com/testdouble/testdouble.js/tree/v3.2.7) (2017-12-20)
365[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.6...v3.2.7)
366
367**Fixed bugs:**
368
369- Disallow captors in `td.when\(...\)` [\#308](https://github.com/testdouble/testdouble.js/issues/308)
370
371**Closed issues:**
372
373- Unexpected output with td.matchers.isA\(Function\) [\#307](https://github.com/testdouble/testdouble.js/issues/307)
374- Different objects created using the same constructor function obtained using td.constructor share the same stubs [\#305](https://github.com/testdouble/testdouble.js/issues/305)
375- Using invocation verification with QUnit [\#304](https://github.com/testdouble/testdouble.js/issues/304)
376- example tests don't work on latest master [\#302](https://github.com/testdouble/testdouble.js/issues/302)
377- Error when running install inside testdouble.js [\#298](https://github.com/testdouble/testdouble.js/issues/298)
378- Can I use test double with enzyme on client end to test if method runs on button click ? [\#297](https://github.com/testdouble/testdouble.js/issues/297)
379- Node module mocking with td.replace\(\) [\#294](https://github.com/testdouble/testdouble.js/issues/294)
380- replacing a nested dependency does not get reset correctly [\#293](https://github.com/testdouble/testdouble.js/issues/293)
381- How to verify the value of "this" keyword on a call? [\#292](https://github.com/testdouble/testdouble.js/issues/292)
382- How to mock typescript fields [\#291](https://github.com/testdouble/testdouble.js/issues/291)
383
384**Merged pull requests:**
385
386- Ensure captors only fire when invocation satisfies when/verify [\#311](https://github.com/testdouble/testdouble.js/pull/311) ([searls](https://github.com/searls))
387- Remove extra word [\#306](https://github.com/testdouble/testdouble.js/pull/306) ([carlbennettnz](https://github.com/carlbennettnz))
388- Fix example tests [\#303](https://github.com/testdouble/testdouble.js/pull/303) ([jasonkarns](https://github.com/jasonkarns))
389- grammar tweak [\#289](https://github.com/testdouble/testdouble.js/pull/289) ([jasonkarns](https://github.com/jasonkarns))
390
391## [v3.2.6](https://github.com/testdouble/testdouble.js/tree/v3.2.6) (2017-09-18)
392[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.5...v3.2.6)
393
394**Merged pull requests:**
395
396- Fix outline of FAQ in README [\#287](https://github.com/testdouble/testdouble.js/pull/287) ([rosston](https://github.com/rosston))
397- Improve TS Support [\#239](https://github.com/testdouble/testdouble.js/pull/239) ([sgtoj](https://github.com/sgtoj))
398
399## [v3.2.5](https://github.com/testdouble/testdouble.js/tree/v3.2.5) (2017-09-07)
400[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.4...v3.2.5)
401
402**Closed issues:**
403
404- Missing support for async functions? \(Node 8\) [\#284](https://github.com/testdouble/testdouble.js/issues/284)
405- redacted [\#283](https://github.com/testdouble/testdouble.js/issues/283)
406- Stubbing priority [\#280](https://github.com/testdouble/testdouble.js/issues/280)
407
408**Merged pull requests:**
409
410- Upgrade lodash \(and support async functions\) [\#285](https://github.com/testdouble/testdouble.js/pull/285) ([rosston](https://github.com/rosston))
411- Add previous/next links to documentation files [\#282](https://github.com/testdouble/testdouble.js/pull/282) ([randycoulman](https://github.com/randycoulman))
412
413## [v3.2.4](https://github.com/testdouble/testdouble.js/tree/v3.2.4) (2017-08-06)
414[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.3...v3.2.4)
415
416**Closed issues:**
417
418- td.constructor\(\) ReferenceError: td is not defined [\#279](https://github.com/testdouble/testdouble.js/issues/279)
419
420## [v3.2.3](https://github.com/testdouble/testdouble.js/tree/v3.2.3) (2017-08-01)
421[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.2...v3.2.3)
422
423**Fixed bugs:**
424
425- Verifying a td.constructor\(\) fails [\#278](https://github.com/testdouble/testdouble.js/issues/278)
426
427**Closed issues:**
428
429- Invocation sequence testing [\#277](https://github.com/testdouble/testdouble.js/issues/277)
430- Cannot assign to read only property 'constructor' after updating to v3.2.x [\#271](https://github.com/testdouble/testdouble.js/issues/271)
431
432## [v3.2.2](https://github.com/testdouble/testdouble.js/tree/v3.2.2) (2017-06-30)
433[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.1...v3.2.2)
434
435**Implemented enhancements:**
436
437- Generator support [\#273](https://github.com/testdouble/testdouble.js/issues/273)
438
439**Merged pull requests:**
440
441- Don't blow up when imitating a thing with generators on it [\#274](https://github.com/testdouble/testdouble.js/pull/274) ([searls](https://github.com/searls))
442
443## [v3.2.1](https://github.com/testdouble/testdouble.js/tree/v3.2.1) (2017-06-26)
444[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.0...v3.2.1)
445
446**Closed issues:**
447
448- Tests failing with 'TypeError: Cannot read property 'isPrototypeOf' of null' after updating 3.2.0 [\#270](https://github.com/testdouble/testdouble.js/issues/270)
449
450## [v3.2.0](https://github.com/testdouble/testdouble.js/tree/v3.2.0) (2017-06-24)
451[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.1.1...v3.2.0)
452
453**Implemented enhancements:**
454
455- Single-layer property replacement is inappropriate for ES modules [\#262](https://github.com/testdouble/testdouble.js/issues/262)
456
457**Closed issues:**
458
459- td.constructor\(\) breaks instanceof [\#267](https://github.com/testdouble/testdouble.js/issues/267)
460
461**Merged pull requests:**
462
463- imitate / replace things deeply \(instead of shallow\) [\#268](https://github.com/testdouble/testdouble.js/pull/268) ([searls](https://github.com/searls))
464
465## [v3.1.1](https://github.com/testdouble/testdouble.js/tree/v3.1.1) (2017-06-20)
466[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.1.0...v3.1.1)
467
468## [v3.1.0](https://github.com/testdouble/testdouble.js/tree/v3.1.0) (2017-06-18)
469[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.0.0...v3.1.0)
470
471**Fixed bugs:**
472
473- td.replace throws with objects created with Object.create [\#257](https://github.com/testdouble/testdouble.js/issues/257)
474- getters are executed when using td.constructor\(\) [\#218](https://github.com/testdouble/testdouble.js/issues/218)
475
476**Closed issues:**
477
478- Verify that constructor is passed certain values [\#256](https://github.com/testdouble/testdouble.js/issues/256)
479- Is there any sample code that mock aws sdk? [\#251](https://github.com/testdouble/testdouble.js/issues/251)
480- Cannot use `td.object` with "callable objects" [\#232](https://github.com/testdouble/testdouble.js/issues/232)
481
482**Merged pull requests:**
483
484- Allow stubbing of custom instances & Object.create\(\) [\#264](https://github.com/testdouble/testdouble.js/pull/264) ([searls](https://github.com/searls))
485- Enable tsc in ci pipeline take 2 [\#260](https://github.com/testdouble/testdouble.js/pull/260) ([duluca](https://github.com/duluca))
486- TypeScript typing thenResolve takes variable args [\#258](https://github.com/testdouble/testdouble.js/pull/258) ([miyu](https://github.com/miyu))
487- Test testdouble.js with testdouble.js! [\#255](https://github.com/testdouble/testdouble.js/pull/255) ([searls](https://github.com/searls))
488
489## [v3.0.0](https://github.com/testdouble/testdouble.js/tree/v3.0.0) (2017-06-02)
490[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.1.2...v3.0.0)
491
492**Fixed bugs:**
493
494- Figure out babel+instanceof+constructor problems with class extension [\#241](https://github.com/testdouble/testdouble.js/issues/241)
495- Mocking a Class [\#157](https://github.com/testdouble/testdouble.js/issues/157)
496
497**Closed issues:**
498
499- `td.verify` reporting after resolving promises [\#250](https://github.com/testdouble/testdouble.js/issues/250)
500- Replacing dependency with td.replace\(path, replacement\) doesn't work [\#249](https://github.com/testdouble/testdouble.js/issues/249)
501- Verify constructor [\#248](https://github.com/testdouble/testdouble.js/issues/248)
502- td.replace \(\) breaks the cache in require [\#244](https://github.com/testdouble/testdouble.js/issues/244)
503- Faking internal calls [\#243](https://github.com/testdouble/testdouble.js/issues/243)
504- ECMAScript 2015 Classes with td.constructor\(\) [\#240](https://github.com/testdouble/testdouble.js/issues/240)
505- TypeScript: Better Generic Support for td.object\(\) [\#236](https://github.com/testdouble/testdouble.js/issues/236)
506- How to Replace Imported Constructor in Another File [\#235](https://github.com/testdouble/testdouble.js/issues/235)
507- Mocha Spec Reporter [\#234](https://github.com/testdouble/testdouble.js/issues/234)
508- TypeError: 'x' is not a function [\#233](https://github.com/testdouble/testdouble.js/issues/233)
509- Inifinite recursion problem [\#231](https://github.com/testdouble/testdouble.js/issues/231)
510- Invoke callback within object [\#230](https://github.com/testdouble/testdouble.js/issues/230)
511- Testing Constructor invocations [\#229](https://github.com/testdouble/testdouble.js/issues/229)
512- Stubbing chained API objects yields a warning [\#228](https://github.com/testdouble/testdouble.js/issues/228)
513
514**Merged pull requests:**
515
516- Stop extending types when replacing constructors [\#254](https://github.com/testdouble/testdouble.js/pull/254) ([searls](https://github.com/searls))
517- Fix \#236; Add another overload and its test [\#237](https://github.com/testdouble/testdouble.js/pull/237) ([sgtoj](https://github.com/sgtoj))
518
519## [v2.1.2](https://github.com/testdouble/testdouble.js/tree/v2.1.2) (2017-03-29)
520[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.1.1...v2.1.2)
521
522**Closed issues:**
523
524- TypeError when used with node -r flag [\#226](https://github.com/testdouble/testdouble.js/issues/226)
525- When replacing a node library calling it from other modules does not work as expected [\#225](https://github.com/testdouble/testdouble.js/issues/225)
526
527## [v2.1.1](https://github.com/testdouble/testdouble.js/tree/v2.1.1) (2017-03-28)
528[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.1.0...v2.1.1)
529
530**Closed issues:**
531
532- Add td.config\(\) to index.d.ts [\#222](https://github.com/testdouble/testdouble.js/issues/222)
533- Mocking external dependencies in Express app [\#221](https://github.com/testdouble/testdouble.js/issues/221)
534
535**Merged pull requests:**
536
537- Add typings for config function [\#223](https://github.com/testdouble/testdouble.js/pull/223) ([lumaxis](https://github.com/lumaxis))
538
539## [v2.1.0](https://github.com/testdouble/testdouble.js/tree/v2.1.0) (2017-03-25)
540[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.5...v2.1.0)
541
542**Closed issues:**
543
544- Using td.replace\(\) with external modules [\#51](https://github.com/testdouble/testdouble.js/issues/51)
545
546**Merged pull requests:**
547
548- Add support for third party modules [\#220](https://github.com/testdouble/testdouble.js/pull/220) ([searls](https://github.com/searls))
549
550## [v2.0.5](https://github.com/testdouble/testdouble.js/tree/v2.0.5) (2017-03-25)
551[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.4...v2.0.5)
552
553## [v2.0.4](https://github.com/testdouble/testdouble.js/tree/v2.0.4) (2017-03-23)
554[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.3...v2.0.4)
555
556**Closed issues:**
557
558- `constructor\(someConstructorFunction\)` not referenced in associated example [\#213](https://github.com/testdouble/testdouble.js/issues/213)
559
560**Merged pull requests:**
561
562- Improve main build [\#212](https://github.com/testdouble/testdouble.js/pull/212) ([searls](https://github.com/searls))
563
564## [v2.0.3](https://github.com/testdouble/testdouble.js/tree/v2.0.3) (2017-03-18)
565[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.2...v2.0.3)
566
567**Merged pull requests:**
568
569- Rework test build [\#211](https://github.com/testdouble/testdouble.js/pull/211) ([searls](https://github.com/searls))
570
571## [v2.0.2](https://github.com/testdouble/testdouble.js/tree/v2.0.2) (2017-03-17)
572[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.1...v2.0.2)
573
574**Closed issues:**
575
576- Mocking a constructor function with no prototypes does not correctly mock static methods [\#208](https://github.com/testdouble/testdouble.js/issues/208)
577- Test td.function\(\) after other td fuction\(\) [\#202](https://github.com/testdouble/testdouble.js/issues/202)
578- How do I stub a function that being promisify'd by bluebird? [\#200](https://github.com/testdouble/testdouble.js/issues/200)
579
580**Merged pull requests:**
581
582- Preserve function context when calling thenDo [\#209](https://github.com/testdouble/testdouble.js/pull/209) ([connor4312](https://github.com/connor4312))
583- Decaffeinate [\#206](https://github.com/testdouble/testdouble.js/pull/206) ([searls](https://github.com/searls))
584
585## [v2.0.1](https://github.com/testdouble/testdouble.js/tree/v2.0.1) (2017-03-13)
586[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v2.0.0...v2.0.1)
587
588## [v2.0.0](https://github.com/testdouble/testdouble.js/tree/v2.0.0) (2017-03-13)
589[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.11.2...v2.0.0)
590
591**Closed issues:**
592
593- How can I write a test for such situation? [\#199](https://github.com/testdouble/testdouble.js/issues/199)
594- contains not working against IIFE objects [\#192](https://github.com/testdouble/testdouble.js/issues/192)
595- td.verify not returning true when true [\#191](https://github.com/testdouble/testdouble.js/issues/191)
596- Typing definition for td.object doesn't support constructors with arguments [\#184](https://github.com/testdouble/testdouble.js/issues/184)
597- Replacing methods on `window.location` [\#183](https://github.com/testdouble/testdouble.js/issues/183)
598- stub also verified warning when using ignoreExtraArgs [\#181](https://github.com/testdouble/testdouble.js/issues/181)
599- \[BREAKING\] Return constructor for `td.replace\(\)` [\#166](https://github.com/testdouble/testdouble.js/issues/166)
600- Allow matchers inside objects [\#160](https://github.com/testdouble/testdouble.js/issues/160)
601- Support invoking callbacks with arbitrary timing [\#106](https://github.com/testdouble/testdouble.js/issues/106)
602
603**Merged pull requests:**
604
605- Async callbacks [\#205](https://github.com/testdouble/testdouble.js/pull/205) ([searls](https://github.com/searls))
606- Create test double functions and copy/fake their properties [\#204](https://github.com/testdouble/testdouble.js/pull/204) ([searls](https://github.com/searls))
607- Support deep matchers [\#203](https://github.com/testdouble/testdouble.js/pull/203) ([searls](https://github.com/searls))
608- introduce td.constructor\(\) as top-level API sibling to td.object\(\) & td.function\(\) [\#201](https://github.com/testdouble/testdouble.js/pull/201) ([searls](https://github.com/searls))
609- Allow Babel compilation [\#197](https://github.com/testdouble/testdouble.js/pull/197) ([searls](https://github.com/searls))
610- Improves warning when verifying a stub [\#196](https://github.com/testdouble/testdouble.js/pull/196) ([samjonester](https://github.com/samjonester))
611- Yarn [\#195](https://github.com/testdouble/testdouble.js/pull/195) ([searls](https://github.com/searls))
612- Creates Better Verification Message [\#194](https://github.com/testdouble/testdouble.js/pull/194) ([samjonester](https://github.com/samjonester))
613- Replace constructors with constructors [\#193](https://github.com/testdouble/testdouble.js/pull/193) ([searls](https://github.com/searls))
614
615## [v1.11.2](https://github.com/testdouble/testdouble.js/tree/v1.11.2) (2017-02-28)
616[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.11.1...v1.11.2)
617
618**Closed issues:**
619
620- Stubbing promises with thenResolve does not actually provide for anything in the callback [\#189](https://github.com/testdouble/testdouble.js/issues/189)
621- sinon.sandbox analog? [\#188](https://github.com/testdouble/testdouble.js/issues/188)
622- Shortcut for new stub returning args [\#187](https://github.com/testdouble/testdouble.js/issues/187)
623- Can't find variable: Proxy [\#186](https://github.com/testdouble/testdouble.js/issues/186)
624
625**Merged pull requests:**
626
627- Improve the error message when using Proxy incorrectly. [\#190](https://github.com/testdouble/testdouble.js/pull/190) ([Schoonology](https://github.com/Schoonology))
628
629## [v1.11.1](https://github.com/testdouble/testdouble.js/tree/v1.11.1) (2017-01-27)
630[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.11.0...v1.11.1)
631
632**Closed issues:**
633
634- Is it possible to `thenReturn` the receiver? [\#182](https://github.com/testdouble/testdouble.js/issues/182)
635- Multiple stubbings with argThat causes unexpected behavior [\#180](https://github.com/testdouble/testdouble.js/issues/180)
636
637**Merged pull requests:**
638
639- Update type definition [\#185](https://github.com/testdouble/testdouble.js/pull/185) ([caseyhoward](https://github.com/caseyhoward))
640
641## [v1.11.0](https://github.com/testdouble/testdouble.js/tree/v1.11.0) (2017-01-17)
642[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.10.2...v1.11.0)
643
644**Closed issues:**
645
646- Having something like "verifyNoFurtherInvocations\(mock\)" would be nice \(feature request\) [\#176](https://github.com/testdouble/testdouble.js/issues/176)
647
648**Merged pull requests:**
649
650- feat: contains allows for regexps against strings [\#178](https://github.com/testdouble/testdouble.js/pull/178) ([JaKXz](https://github.com/JaKXz))
651
652## [v1.10.2](https://github.com/testdouble/testdouble.js/tree/v1.10.2) (2016-12-31)
653[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.10.1...v1.10.2)
654
655**Closed issues:**
656
657- Possible pollution issue \(2 tests work individually, but fails when run together\) [\#171](https://github.com/testdouble/testdouble.js/issues/171)
658- td.verify and td.when redundency warning [\#170](https://github.com/testdouble/testdouble.js/issues/170)
659- Does not work with jest [\#128](https://github.com/testdouble/testdouble.js/issues/128)
660
661**Merged pull requests:**
662
663- Captor typings [\#174](https://github.com/testdouble/testdouble.js/pull/174) ([danielmoore](https://github.com/danielmoore))
664- Align TS replace\(\) signuatrue return with implementaiton [\#173](https://github.com/testdouble/testdouble.js/pull/173) ([danielmoore](https://github.com/danielmoore))
665
666## [v1.10.1](https://github.com/testdouble/testdouble.js/tree/v1.10.1) (2016-12-20)
667[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.10.0...v1.10.1)
668
669**Implemented enhancements:**
670
671- Make the `constructor` property of td.replaced\(\) instantiable types useful [\#121](https://github.com/testdouble/testdouble.js/issues/121)
672- Improve output for `times` verification failures [\#85](https://github.com/testdouble/testdouble.js/issues/85)
673- Allow argument matchers to enhance failure messages [\#59](https://github.com/testdouble/testdouble.js/issues/59)
674- td.constructor\(\) feature for creating fake constructors [\#54](https://github.com/testdouble/testdouble.js/issues/54)
675
676**Closed issues:**
677
678- typings for typescript [\#167](https://github.com/testdouble/testdouble.js/issues/167)
679- A little typo in Getting Started documentation [\#165](https://github.com/testdouble/testdouble.js/issues/165)
680- Unable to stub static method on ES6 classes [\#164](https://github.com/testdouble/testdouble.js/issues/164)
681- transcribe unusual spending kata from ES5 to ES6/babel [\#163](https://github.com/testdouble/testdouble.js/issues/163)
682- Classes with overridden methods not doubling properly since 1.10.0 [\#159](https://github.com/testdouble/testdouble.js/issues/159)
683- `td.replace\(\)` doesn't work with `import`? [\#147](https://github.com/testdouble/testdouble.js/issues/147)
684- Support multiple capture invocations [\#139](https://github.com/testdouble/testdouble.js/issues/139)
685- Constructor replacements will fail instanceof checks [\#107](https://github.com/testdouble/testdouble.js/issues/107)
686
687**Merged pull requests:**
688
689- Typings for typescript [\#169](https://github.com/testdouble/testdouble.js/pull/169) ([mkusher](https://github.com/mkusher))
690
691## [v1.10.0](https://github.com/testdouble/testdouble.js/tree/v1.10.0) (2016-12-11)
692[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.9.1...v1.10.0)
693
694**Implemented enhancements:**
695
696- td.replace doesn't properly detect ES6 classes [\#119](https://github.com/testdouble/testdouble.js/issues/119)
697
698**Closed issues:**
699
700- Matcher for a specific position [\#156](https://github.com/testdouble/testdouble.js/issues/156)
701
702**Merged pull requests:**
703
704- Sort out replacement of especially 6+ Classes [\#158](https://github.com/testdouble/testdouble.js/pull/158) ([searls](https://github.com/searls))
705
706## [v1.9.1](https://github.com/testdouble/testdouble.js/tree/v1.9.1) (2016-12-03)
707[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.9.0...v1.9.1)
708
709**Implemented enhancements:**
710
711- td.replace for functions that have additional function properties [\#99](https://github.com/testdouble/testdouble.js/issues/99)
712
713**Closed issues:**
714
715- Is testdouble.js not compatible with PhantomJS? [\#154](https://github.com/testdouble/testdouble.js/issues/154)
716- Model instance creation assistance [\#149](https://github.com/testdouble/testdouble.js/issues/149)
717- Excessive warn "was both stubbed and verified" [\#148](https://github.com/testdouble/testdouble.js/issues/148)
718
719**Merged pull requests:**
720
721- Add failing test for resetting replaced modules. [\#215](https://github.com/testdouble/testdouble.js/pull/215) ([Schoonology](https://github.com/Schoonology))
722- typo [\#152](https://github.com/testdouble/testdouble.js/pull/152) ([ghedamat](https://github.com/ghedamat))
723
724## [v1.9.0](https://github.com/testdouble/testdouble.js/tree/v1.9.0) (2016-10-25)
725[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.8.0...v1.9.0)
726
727**Implemented enhancements:**
728
729- Note when `ignoreExtraArgs` is used for a failed verification [\#60](https://github.com/testdouble/testdouble.js/issues/60)
730
731**Closed issues:**
732
733- td.replace multiple property names at once [\#146](https://github.com/testdouble/testdouble.js/issues/146)
734- Consider ignoreExtraArgs method instead of parameter [\#143](https://github.com/testdouble/testdouble.js/issues/143)
735
736**Merged pull requests:**
737
738- Gives better hint when verification fails while ignoring extra args [\#150](https://github.com/testdouble/testdouble.js/pull/150) ([samjonester](https://github.com/samjonester))
739
740## [v1.8.0](https://github.com/testdouble/testdouble.js/tree/v1.8.0) (2016-10-12)
741[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.7.0...v1.8.0)
742
743**Closed issues:**
744
745- Feature request: Partial object matchers [\#141](https://github.com/testdouble/testdouble.js/issues/141)
746- Drop CoffeeScript [\#140](https://github.com/testdouble/testdouble.js/issues/140)
747- Question with verifications [\#138](https://github.com/testdouble/testdouble.js/issues/138)
748- td.reset\(\) it´s working has expected? [\#133](https://github.com/testdouble/testdouble.js/issues/133)
749
750**Merged pull requests:**
751
752- Docs for multiple captor values. [\#145](https://github.com/testdouble/testdouble.js/pull/145) ([marchaos](https://github.com/marchaos))
753- Allow for multiple captor invocations [\#144](https://github.com/testdouble/testdouble.js/pull/144) ([marchaos](https://github.com/marchaos))
754- Remove warning of implementations of ES2015 proxy [\#136](https://github.com/testdouble/testdouble.js/pull/136) ([mgryszko](https://github.com/mgryszko))
755- Fix shorthand notation for stubbing [\#135](https://github.com/testdouble/testdouble.js/pull/135) ([mgryszko](https://github.com/mgryszko))
756
757## [v1.7.0](https://github.com/testdouble/testdouble.js/tree/v1.7.0) (2016-09-18)
758[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.6.2...v1.7.0)
759
760**Merged pull requests:**
761
762- Upgrade to lodash 4.15.0 [\#132](https://github.com/testdouble/testdouble.js/pull/132) ([searls](https://github.com/searls))
763
764## [v1.6.2](https://github.com/testdouble/testdouble.js/tree/v1.6.2) (2016-09-18)
765[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.6.1...v1.6.2)
766
767**Closed issues:**
768
769- Add support for concurrent test runners \(ava\)? [\#131](https://github.com/testdouble/testdouble.js/issues/131)
770- Async use of verify results in timeout [\#129](https://github.com/testdouble/testdouble.js/issues/129)
771
772**Merged pull requests:**
773
774- Should methods on super types be stubbed in td.object? [\#130](https://github.com/testdouble/testdouble.js/pull/130) ([paultyng](https://github.com/paultyng))
775
776## [v1.6.1](https://github.com/testdouble/testdouble.js/tree/v1.6.1) (2016-08-31)
777[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.6.0...v1.6.1)
778
779**Closed issues:**
780
781- td.explain should indicate thenCallback / thenResolve / thenReject from thenReturn [\#126](https://github.com/testdouble/testdouble.js/issues/126)
782- td.when and td.verify warning [\#125](https://github.com/testdouble/testdouble.js/issues/125)
783- td.callback, when given a td.object, raises a TypeError [\#124](https://github.com/testdouble/testdouble.js/issues/124)
784- not matcher and calling function multiple times [\#122](https://github.com/testdouble/testdouble.js/issues/122)
785- Verify of a specific call when multiple calls happen [\#120](https://github.com/testdouble/testdouble.js/issues/120)
786
787**Merged pull requests:**
788
789- explain plan better in stubbing description [\#127](https://github.com/testdouble/testdouble.js/pull/127) ([Moeriki](https://github.com/Moeriki))
790- Fix typo in plugin name [\#123](https://github.com/testdouble/testdouble.js/pull/123) ([hanneskaeufler](https://github.com/hanneskaeufler))
791
792## [v1.6.0](https://github.com/testdouble/testdouble.js/tree/v1.6.0) (2016-07-14)
793[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.5.0...v1.6.0)
794
795**Closed issues:**
796
797- Nested stubbing doesn't work [\#117](https://github.com/testdouble/testdouble.js/issues/117)
798
799**Merged pull requests:**
800
801- Allow nested stubbing configuration [\#118](https://github.com/testdouble/testdouble.js/pull/118) ([searls](https://github.com/searls))
802
803## [v1.5.0](https://github.com/testdouble/testdouble.js/tree/v1.5.0) (2016-07-13)
804[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.3...v1.5.0)
805
806**Closed issues:**
807
808- support promises resolve/reject [\#46](https://github.com/testdouble/testdouble.js/issues/46)
809
810**Merged pull requests:**
811
812- Use stringify-object now that my change is merged [\#116](https://github.com/testdouble/testdouble.js/pull/116) ([searls](https://github.com/searls))
813- Promise stubbing sugar [\#115](https://github.com/testdouble/testdouble.js/pull/115) ([searls](https://github.com/searls))
814
815## [v1.4.3](https://github.com/testdouble/testdouble.js/tree/v1.4.3) (2016-06-22)
816[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.2...v1.4.3)
817
818**Closed issues:**
819
820- Build with Travis on Node 6.x [\#114](https://github.com/testdouble/testdouble.js/issues/114)
821- Wrong test double name for proxies [\#112](https://github.com/testdouble/testdouble.js/issues/112)
822- Improve error output message [\#111](https://github.com/testdouble/testdouble.js/issues/111)
823- Flexible parameters [\#110](https://github.com/testdouble/testdouble.js/issues/110)
824- How can I install and use this in an ember/ember-cli project? [\#105](https://github.com/testdouble/testdouble.js/issues/105)
825- td.replace breaks subsequent require calls [\#103](https://github.com/testdouble/testdouble.js/issues/103)
826
827**Merged pull requests:**
828
829- Generate test double name for a Proxy test double [\#113](https://github.com/testdouble/testdouble.js/pull/113) ([mgryszko](https://github.com/mgryszko))
830
831## [v1.4.2](https://github.com/testdouble/testdouble.js/tree/v1.4.2) (2016-04-29)
832[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.1...v1.4.2)
833
834**Closed issues:**
835
836- matchers.contains\(number\) support [\#102](https://github.com/testdouble/testdouble.js/issues/102)
837
838**Merged pull requests:**
839
840- Fix contains\(\) behavior for arrays [\#104](https://github.com/testdouble/testdouble.js/pull/104) ([searls](https://github.com/searls))
841- Add testdouble-timers as plugin to docs [\#101](https://github.com/testdouble/testdouble.js/pull/101) ([kuy](https://github.com/kuy))
842
843## [v1.4.1](https://github.com/testdouble/testdouble.js/tree/v1.4.1) (2016-04-05)
844[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.4.0...v1.4.1)
845
846**Closed issues:**
847
848- Changelog [\#97](https://github.com/testdouble/testdouble.js/issues/97)
849
850**Merged pull requests:**
851
852- Generate a changelog whenever we pubish [\#98](https://github.com/testdouble/testdouble.js/pull/98) ([searls](https://github.com/searls))
853
854## [v1.4.0](https://github.com/testdouble/testdouble.js/tree/v1.4.0) (2016-04-03)
855[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.3.1...v1.4.0)
856
857**Closed issues:**
858
859- Reserved word [\#82](https://github.com/testdouble/testdouble.js/issues/82)
860- Warn when users verify an invocation they also stubbed [\#76](https://github.com/testdouble/testdouble.js/issues/76)
861- Feature request: captors without verify [\#65](https://github.com/testdouble/testdouble.js/issues/65)
862
863**Merged pull requests:**
864
865- Warn verifications of exact stubbings [\#96](https://github.com/testdouble/testdouble.js/pull/96) ([searls](https://github.com/searls))
866- Fixes \#82 [\#95](https://github.com/testdouble/testdouble.js/pull/95) ([searls](https://github.com/searls))
867
868## [v1.3.1](https://github.com/testdouble/testdouble.js/tree/v1.3.1) (2016-04-03)
869[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.3.0...v1.3.1)
870
871**Closed issues:**
872
873- Throws in node 0.10 [\#94](https://github.com/testdouble/testdouble.js/issues/94)
874- td.replace\(\) property replacement warning & failure states [\#92](https://github.com/testdouble/testdouble.js/issues/92)
875- give users a way to squelch individual warnings [\#90](https://github.com/testdouble/testdouble.js/issues/90)
876
877## [v1.3.0](https://github.com/testdouble/testdouble.js/tree/v1.3.0) (2016-04-03)
878[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.2.0...v1.3.0)
879
880**Closed issues:**
881
882- What's the best way to use testdouble.js with tape? [\#93](https://github.com/testdouble/testdouble.js/issues/93)
883- help [\#91](https://github.com/testdouble/testdouble.js/issues/91)
884- td.replace\(\) fails for method on prototype [\#86](https://github.com/testdouble/testdouble.js/issues/86)
885
886**Merged pull requests:**
887
888- README: Replace GIFs with code blocks [\#88](https://github.com/testdouble/testdouble.js/pull/88) ([Turbo87](https://github.com/Turbo87))
889- replace: Use object\[property\] to check if property exists [\#87](https://github.com/testdouble/testdouble.js/pull/87) ([Turbo87](https://github.com/Turbo87))
890
891## [v1.2.0](https://github.com/testdouble/testdouble.js/tree/v1.2.0) (2016-03-20)
892[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.1.3...v1.2.0)
893
894**Merged pull requests:**
895
896- Stringify objects better [\#84](https://github.com/testdouble/testdouble.js/pull/84) ([searls](https://github.com/searls))
897- doc: thenDo and thenThrow are no longer unimplemented. [\#83](https://github.com/testdouble/testdouble.js/pull/83) ([verdammelt](https://github.com/verdammelt))
898- Refactor time [\#81](https://github.com/testdouble/testdouble.js/pull/81) ([searls](https://github.com/searls))
899
900## [v1.1.3](https://github.com/testdouble/testdouble.js/tree/v1.1.3) (2016-03-16)
901[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.1.1...v1.1.3)
902
903**Closed issues:**
904
905- Quibble in the browser [\#77](https://github.com/testdouble/testdouble.js/issues/77)
906
907**Merged pull requests:**
908
909- Improve support for webpack users [\#80](https://github.com/testdouble/testdouble.js/pull/80) ([searls](https://github.com/searls))
910
911## [v1.1.1](https://github.com/testdouble/testdouble.js/tree/v1.1.1) (2016-03-15)
912[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.1.0...v1.1.1)
913
914**Merged pull requests:**
915
916- Add webpack specific metadata to package.json [\#79](https://github.com/testdouble/testdouble.js/pull/79) ([davemo](https://github.com/davemo))
917
918## [v1.1.0](https://github.com/testdouble/testdouble.js/tree/v1.1.0) (2016-03-11)
919[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v1.0.0...v1.1.0)
920
921**Closed issues:**
922
923- Add a property-namespacing-like replace strategy for browsers. [\#55](https://github.com/testdouble/testdouble.js/issues/55)
924
925**Merged pull requests:**
926
927- td.replace support for object properties \(incl. browsers\) [\#75](https://github.com/testdouble/testdouble.js/pull/75) ([searls](https://github.com/searls))
928- td.explain tells you if you passed it a test double [\#74](https://github.com/testdouble/testdouble.js/pull/74) ([searls](https://github.com/searls))
929
930## [v1.0.0](https://github.com/testdouble/testdouble.js/tree/v1.0.0) (2016-03-10)
931[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.10.0...v1.0.0)
932
933**Closed issues:**
934
935- Document `thenDo` and `thenThrow` [\#64](https://github.com/testdouble/testdouble.js/issues/64)
936
937**Merged pull requests:**
938
939- Remove deprecated window.testdouble for 1.0.0 [\#73](https://github.com/testdouble/testdouble.js/pull/73) ([searls](https://github.com/searls))
940- add some docs [\#72](https://github.com/testdouble/testdouble.js/pull/72) ([searls](https://github.com/searls))
941
942## [v0.10.0](https://github.com/testdouble/testdouble.js/tree/v0.10.0) (2016-03-09)
943[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.9.0...v0.10.0)
944
945**Merged pull requests:**
946
947- Change window.testdouble to window.td [\#71](https://github.com/testdouble/testdouble.js/pull/71) ([searls](https://github.com/searls))
948
949## [v0.9.0](https://github.com/testdouble/testdouble.js/tree/v0.9.0) (2016-03-09)
950[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.8.0...v0.9.0)
951
952**Implemented enhancements:**
953
954- Stubbing callbacks [\#66](https://github.com/testdouble/testdouble.js/issues/66)
955
956**Closed issues:**
957
958- Getting testdouble.js to play nicely with Jasmine expectations? [\#41](https://github.com/testdouble/testdouble.js/issues/41)
959
960**Merged pull requests:**
961
962- Implement callback stubbing APIs [\#70](https://github.com/testdouble/testdouble.js/pull/70) ([searls](https://github.com/searls))
963- fix typo [\#69](https://github.com/testdouble/testdouble.js/pull/69) ([jzinn](https://github.com/jzinn))
964- Reference the completed testdouble-jasmine module [\#67](https://github.com/testdouble/testdouble.js/pull/67) ([BrianGenisio](https://github.com/BrianGenisio))
965
966## [v0.8.0](https://github.com/testdouble/testdouble.js/tree/v0.8.0) (2016-02-06)
967[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.3...v0.8.0)
968
969**Closed issues:**
970
971- Add `thenDo` [\#8](https://github.com/testdouble/testdouble.js/issues/8)
972- Add `thenThrow` [\#7](https://github.com/testdouble/testdouble.js/issues/7)
973
974## [v0.7.3](https://github.com/testdouble/testdouble.js/tree/v0.7.3) (2015-12-07)
975[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.2...v0.7.3)
976
977**Implemented enhancements:**
978
979- td.matchers.contains does not work on sparse object trees [\#58](https://github.com/testdouble/testdouble.js/issues/58)
980
981**Fixed bugs:**
982
983- td.matchers.contains does not work on sparse object trees [\#58](https://github.com/testdouble/testdouble.js/issues/58)
984
985**Merged pull requests:**
986
987- Add headerify [\#62](https://github.com/testdouble/testdouble.js/pull/62) ([searls](https://github.com/searls))
988- Rename src and scripts [\#61](https://github.com/testdouble/testdouble.js/pull/61) ([searls](https://github.com/searls))
989- Better docs [\#49](https://github.com/testdouble/testdouble.js/pull/49) ([searls](https://github.com/searls))
990
991## [v0.7.2](https://github.com/testdouble/testdouble.js/tree/v0.7.2) (2015-11-25)
992[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.1...v0.7.2)
993
994**Fixed bugs:**
995
996- td.matchers.contains blows up on sparse matches [\#56](https://github.com/testdouble/testdouble.js/issues/56)
997
998**Merged pull requests:**
999
1000- fixes \#56 [\#57](https://github.com/testdouble/testdouble.js/pull/57) ([searls](https://github.com/searls))
1001- Swap .replace with browser-specific function [\#52](https://github.com/testdouble/testdouble.js/pull/52) ([jasonkarns](https://github.com/jasonkarns))
1002- Use svg build badge [\#50](https://github.com/testdouble/testdouble.js/pull/50) ([hanneskaeufler](https://github.com/hanneskaeufler))
1003
1004## [v0.7.1](https://github.com/testdouble/testdouble.js/tree/v0.7.1) (2015-11-12)
1005[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.7.0...v0.7.1)
1006
1007## [v0.7.0](https://github.com/testdouble/testdouble.js/tree/v0.7.0) (2015-11-12)
1008[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.6.0...v0.7.0)
1009
1010**Closed issues:**
1011
1012- Is there a way to reset the state of a double? [\#43](https://github.com/testdouble/testdouble.js/issues/43)
1013
1014**Merged pull requests:**
1015
1016- Update README.md [\#45](https://github.com/testdouble/testdouble.js/pull/45) ([andrewvida](https://github.com/andrewvida))
1017- Adding reset\(\) to the Readme.md [\#44](https://github.com/testdouble/testdouble.js/pull/44) ([BrianGenisio](https://github.com/BrianGenisio))
1018
1019## [v0.6.0](https://github.com/testdouble/testdouble.js/tree/v0.6.0) (2015-10-27)
1020[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.5.0...v0.6.0)
1021
1022**Closed issues:**
1023
1024- add ES2015 Proxy support [\#39](https://github.com/testdouble/testdouble.js/issues/39)
1025
1026**Merged pull requests:**
1027
1028- Implement ES2015 proxy doubles [\#42](https://github.com/testdouble/testdouble.js/pull/42) ([searls](https://github.com/searls))
1029
1030## [v0.5.0](https://github.com/testdouble/testdouble.js/tree/v0.5.0) (2015-10-25)
1031[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.4.0...v0.5.0)
1032
1033**Closed issues:**
1034
1035- Add verify times\(\) [\#5](https://github.com/testdouble/testdouble.js/issues/5)
1036
1037**Merged pull requests:**
1038
1039- Add a `times` option [\#40](https://github.com/testdouble/testdouble.js/pull/40) ([searls](https://github.com/searls))
1040
1041## [v0.4.0](https://github.com/testdouble/testdouble.js/tree/v0.4.0) (2015-10-24)
1042[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.3.1...v0.4.0)
1043
1044**Closed issues:**
1045
1046- Allow when & verify to disregard arity [\#36](https://github.com/testdouble/testdouble.js/issues/36)
1047- implement argument captors [\#35](https://github.com/testdouble/testdouble.js/issues/35)
1048
1049**Merged pull requests:**
1050
1051- Add an option to ignore additional args [\#38](https://github.com/testdouble/testdouble.js/pull/38) ([searls](https://github.com/searls))
1052- Arg captors [\#37](https://github.com/testdouble/testdouble.js/pull/37) ([searls](https://github.com/searls))
1053
1054## [v0.3.1](https://github.com/testdouble/testdouble.js/tree/v0.3.1) (2015-10-24)
1055[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.3.0...v0.3.1)
1056
1057**Fixed bugs:**
1058
1059- contains\(\) matcher doesn't seem to work on arrays [\#31](https://github.com/testdouble/testdouble.js/issues/31)
1060
1061**Closed issues:**
1062
1063- verify does not throw exception when too many arguments are passed [\#33](https://github.com/testdouble/testdouble.js/issues/33)
1064- Building CoffeeScript at runtime is slow. [\#29](https://github.com/testdouble/testdouble.js/issues/29)
1065
1066**Merged pull requests:**
1067
1068- Start checking arity on arg comparisons [\#34](https://github.com/testdouble/testdouble.js/pull/34) ([searls](https://github.com/searls))
1069- Compile coffeescript [\#30](https://github.com/testdouble/testdouble.js/pull/30) ([jasonkarns](https://github.com/jasonkarns))
1070
1071## [v0.3.0](https://github.com/testdouble/testdouble.js/tree/v0.3.0) (2015-10-21)
1072[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.2.0...v0.3.0)
1073
1074**Closed issues:**
1075
1076- When stringifying args, use a testdouble's name if it has one [\#21](https://github.com/testdouble/testdouble.js/issues/21)
1077
1078**Merged pull requests:**
1079
1080- Clean up window/global management [\#28](https://github.com/testdouble/testdouble.js/pull/28) ([jasonkarns](https://github.com/jasonkarns))
1081- clean up package scripts \(primarily version\) [\#27](https://github.com/testdouble/testdouble.js/pull/27) ([jasonkarns](https://github.com/jasonkarns))
1082- don't watch generated files [\#26](https://github.com/testdouble/testdouble.js/pull/26) ([jasonkarns](https://github.com/jasonkarns))
1083- Export `version` property on base object [\#25](https://github.com/testdouble/testdouble.js/pull/25) ([jasonkarns](https://github.com/jasonkarns))
1084- Fixes \#21 [\#24](https://github.com/testdouble/testdouble.js/pull/24) ([searls](https://github.com/searls))
1085
1086## [v0.2.0](https://github.com/testdouble/testdouble.js/tree/v0.2.0) (2015-09-13)
1087[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.1.0...v0.2.0)
1088
1089**Closed issues:**
1090
1091- Add a build task that distributes a web version / bower.json / etc [\#10](https://github.com/testdouble/testdouble.js/issues/10)
1092
1093**Merged pull requests:**
1094
1095- Browserify testing [\#22](https://github.com/testdouble/testdouble.js/pull/22) ([searls](https://github.com/searls))
1096- add some more syntax highlighting to README [\#20](https://github.com/testdouble/testdouble.js/pull/20) ([hanneskaeufler](https://github.com/hanneskaeufler))
1097- Configure Testem [\#19](https://github.com/testdouble/testdouble.js/pull/19) ([jasonkarns](https://github.com/jasonkarns))
1098- Browserify [\#13](https://github.com/testdouble/testdouble.js/pull/13) ([jasonkarns](https://github.com/jasonkarns))
1099
1100## [v0.1.0](https://github.com/testdouble/testdouble.js/tree/v0.1.0) (2015-09-09)
1101[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v0.0.5...v0.1.0)
1102
1103**Closed issues:**
1104
1105- name a test double with `create\("name"\)` [\#15](https://github.com/testdouble/testdouble.js/issues/15)
1106- Implement default matchers [\#9](https://github.com/testdouble/testdouble.js/issues/9)
1107- Add sequential stubbing [\#6](https://github.com/testdouble/testdouble.js/issues/6)
1108- Implement Prototype for create\(\) [\#2](https://github.com/testdouble/testdouble.js/issues/2)
1109- Implement argument matchers [\#1](https://github.com/testdouble/testdouble.js/issues/1)
1110
1111**Merged pull requests:**
1112
1113- Test prototype-based create\(\) [\#18](https://github.com/testdouble/testdouble.js/pull/18) ([searls](https://github.com/searls))
1114- Allow naming test doubles for better output [\#17](https://github.com/testdouble/testdouble.js/pull/17) ([searls](https://github.com/searls))
1115- sequential stubbing [\#16](https://github.com/testdouble/testdouble.js/pull/16) ([searls](https://github.com/searls))
1116- add more matchers [\#14](https://github.com/testdouble/testdouble.js/pull/14) ([searls](https://github.com/searls))
1117
1118## [v0.0.5](https://github.com/testdouble/testdouble.js/tree/v0.0.5) (2015-09-08)
1119[Full Changelog](https://github.com/testdouble/testdouble.js/compare/0.0.4...v0.0.5)
1120
1121**Closed issues:**
1122
1123- Add `verify\(\)` [\#4](https://github.com/testdouble/testdouble.js/issues/4)
1124
1125## [0.0.4](https://github.com/testdouble/testdouble.js/tree/0.0.4) (2015-09-08)
1126[Full Changelog](https://github.com/testdouble/testdouble.js/compare/0.0.3...0.0.4)
1127
1128## [0.0.3](https://github.com/testdouble/testdouble.js/tree/0.0.3) (2015-09-08)
1129[Full Changelog](https://github.com/testdouble/testdouble.js/compare/0.0.2...0.0.3)
1130
1131**Closed issues:**
1132
1133- Print version in browserify build [\#23](https://github.com/testdouble/testdouble.js/issues/23)
1134- Add a `require\('testdouble'\).explain` function [\#12](https://github.com/testdouble/testdouble.js/issues/12)
1135- Ensure last stubbing wins [\#11](https://github.com/testdouble/testdouble.js/issues/11)
1136
1137## [0.0.2](https://github.com/testdouble/testdouble.js/tree/0.0.2) (2015-09-07)
1138
1139
1140\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*