Jest Global Window объект

For any future googlers: global is window. So if you want to use the window object, don't use global.window — just use global.
Nice Nightingale