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