This won't work since `chalk` protects itself by defining methods via `Object.defineProperty` with getters without correspondings setters. Overwriting such a property is impossible so Sinon's spy methods will fail here as well.

See https://github.com/sindresorhus/chalk/blob/90e2260f5863f1c4f9b4994c341e9359292caeb3/index.js#L29-L48