Write an example of spy wrapping on EXISTING METHODvar setNameSpy = sinon.spy(USER, "setName")is an example of spy wrapping an existing method?(1)FALSE(2)TrueAnswer:-(2)True
Your experience on this site will be improved by allowing cookies. Read Cookie Policy