Since Jest 22.1.0+, the jest.spyOn method takes an optional third argument of accessType that can be either 'get' or 'set' , which proves to be ...
確定! 回上一頁