nit: If you use `this.sinon` it would be restored automatically. But sometimes this is necessary for linter (defined but unused variables are illegal).