Commit b37820a
committed
Fix poor test of resetHistory
The test implementation was using objects with `resetHistory` methods.
However, the only valid things to have in the `fakes` collection are
spies (functions) or property descriptors (objects with spies), which
have `resetHistory` methods.1 parent a8171c3 commit b37820a
1 file changed
+26
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
472 | 471 | | |
473 | 472 | | |
474 | 473 | | |
475 | 474 | | |
476 | 475 | | |
477 | | - | |
478 | 476 | | |
479 | 477 | | |
480 | 478 | | |
481 | | - | |
482 | | - | |
483 | | - | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
484 | 495 | | |
485 | 496 | | |
486 | 497 | | |
| |||
0 commit comments