Commit 641a5cd
committed
Perform additional cleanup when calling callThroughWithNew()
The cleanup for callThroughWithNew() could be the same as for
callThrough().
But in the callThroughWithNew() context, we are dealing with
constructors, which means the returnThis, resolves, resolvesArg,
resolvesthis, rejects, returnsArg and callsFake don't apply.
The callsArg/yield stuff still applies and needs to be cleaned-up.1 parent a0744d5 commit 641a5cd
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
268 | 278 | | |
269 | 279 | | |
270 | 280 | | |
| |||
0 commit comments