That won't work because of this `writable: false` problem. Sinon doesn't utilize `Object.defineProperty`, unfortunately.

I reimplemented all of that using Sinon but it didn't make the diff any smaller. See https://github.com/mzgol/eslint/commit/61c9fcb7764ec15429f71e05b46f8c0f8d426d56 for the results.