const spy = jest.spyOn(window.sessionStorage, 'setItem');. Previously, in 2019.1 WebStorm would suggest values for the second parameter of jest.spyOn .
確定! 回上一頁