Changelog
[2.5.0] - 2019-05-21
Spy.on
and Spy.mock
(this might lead to new type errors)Changelog
[2.2.0] - 2018-12-02
Spy.resetAll
: Calls the reset for all ever instantiated spies.afterEach
Test-Suite-Hook now also calls Spy.resetAll
. Therefore created
spies should not be able to effect other tests. Since the reset operation is a very cheap
operation, this change should not effect the performance of your tests visibly. If any of
your tests should break, consider to clean those up, because you should not write
conditionally related tests, if it is avoidable.