ts-stubber
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "ts-stubber", | ||
"description": "Lazy Stubbing a TypeScript Class or Interface with any Mocking Framework for testing in Isolation", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Shelly Goldblit", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -1,3 +0,1 @@ | ||
ts-stubber / [Exports](modules.md) | ||
# ts-stubber | ||
@@ -42,3 +40,3 @@ | ||
} | ||
// creating a stubbed instance using sinon | ||
const sinonStubbedInstanceCreator = StubbedInstanceCreator<MyClass, SinonStub>( | ||
@@ -50,2 +48,3 @@ () => sinon.stub() | ||
// creating a stubbed instance using jest | ||
const jestStubbedInstanceCreator = StubbedInstanceCreator<MyClass, jest.Mock>( | ||
@@ -52,0 +51,0 @@ () => jest.fn() |
10698
96