ttarnowski/ts-sinon
Sinon extension providing functions to: stub all object methods and to stub interface.
TypeScriptMIT
Issues
- 5
- 1
- 2
stubObject on got library crashes
#215 opened by chanep - 0
stubInterface is not returning promise
#254 opened by jose-roberto-abreu - 2
Error when using with karma
#109 opened by sidharthv96 - 0
Dependabot pull requests need to be applied
#252 opened by azatoth - 1
Assigning properties with falsy values to a StubbedInstance can result in unexpected test failures.
#55 opened by Exigerr - 6
stubConstructor does not stub base class methods
#137 opened by laleksiunas - 7
Stub reset
#30 opened by gavinvangent - 0
- 0
Use sinon as peer dependency
#136 opened by laleksiunas - 2
Upgrade dependencies
#32 opened by danilofuchs - 3
EventEmitter support
#84 opened by gavinvangent - 1
stubInterface is deprecated: as it may lead to overwriting stubbed method type
#53 opened by andsouto - 2
Stubbing methods in nested objects
#29 opened by charliewxyz - 2
README mistake
#27 opened by mateusgrb - 2
Asserting StubbedInstance
#26 opened by gavinvangent - 1
Solved - Unable to stub Static Methods
#31 opened by kevitan - 1
How to call subInterface from sandbox ?
#24 opened by TranBaVinhSon - 1
- 1
stubConstructor doesn't stub properties
#18 opened by vim-daniel - 2
How to stub console.log
#23 opened by crystalfp - 3
sinon.createSandbox() does not exist
#21 opened by Rolias - 1
- 1
Support async methods.
#10 opened by GalHalupSeaLights - 4
/bin/sh: 1: tsc: not found
#9 opened by kresimirfranin - 1
Property 'returns' does not exist on type
#11 opened by artus - 1
npm i failed at postinstall
#13 opened by Whatshiywl - 5
Install time compilation not playing nice
#3 opened by stefaneg - 2
stubInterface<T>() returns incorrect type
#1 opened by MakotoE