New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-stubber

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-stubber - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"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()

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc