TypeError: getComputedStyle (...). GetPropertyValue no es una función

Object.defineProperty(window, 'getComputedStyle', {
    value: () => ({
        getPropertyValue: (prop) => {
            return '';
        }
    })
});
Tough Tarantula