TypeError: GetComputedStyle (...). GetPropertyValue bukanlah fungsi

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