Stubbing method in same file doesn't work #1161 import * as actions from 'foo'; const aStub = sinon.stub(actions, 'a').returns('mocked return'); Spies, Stubs ...
確定! 回上一頁