The global/window object seem to change through the update,in my opinion, simulate shouldn't be used on the window object as it isn't working as the DOM window, calling the function which is triggered by window's key pressis really what we want to test, and almost sure not to fail in future Jest/Enzyme upgrades.