Closed Krinkle closed 10 years ago
Downstream example:
setup:
var config = sinon.getConfig( sinon.config );
config.injectInto = this;
sinon.sandbox.create( config );
teardown:
this.sandbox.verifyAndRestore();
this.clock = this.sandbox.useFakeTimers();
...
this.clock.tick( 500 );
Regression:
12:59:34 >> TypeError: 'null' is not an object (evaluating 'timerId.id')
Seems fixed as of 5f45d2e89ca7c2495ab8ae3b6709ed590d4ca0f1. Could this please be made in a minor release considering it is a fatal regression?
Done! Thanks for the heads up
No longer works as expected when upgrading from v1.9.1 to v1.10.2. The clearing phase always fails fatally with:
Caused by #451 as the
timerId
variable can be null there, which is alsotypeof
object.