How do I use Sinon with Typescript? ... Sinon can create a stub based on a constructor quite easily if, instead of mock , you use the createStubInstance method.
確定! 回上一頁