Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kablamo/kerosene-test

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kablamo/kerosene-test

``` yarn add --dev @kablamo/kerosene-test

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
393
decreased by-6.21%
Maintainers
6
Weekly downloads
 
Created
Source

🔥 Kerosene-test

yarn add --dev @kablamo/kerosene-test

npm install --save-dev @kablamo/kerosene-test

Available Functions

React

createStubComponent(displayName, functional?, getRenderProps?, transformRenderProps?)

Creates a StubComponent for unit testing.

createStubContext(displayName, getter?)

Creates a stub React Context for unit testing.

Stubs

createStubStyles(classNames, values?)

Returns an object mapping local classNames to faked global equivalents along with any exported values.

stubProperties(target, properties)

Stubs properties on the target object, and returns a function which restores them to their original values.

Available TypeScript Types

Jest

JestMock<T>

Shorthand for jest.Mock<ReturnType<T>, Parameters<T>>;.

JestSpied<T>

Shorthand for jest.SpyInstance<ReturnType<T>, Parameters<T>>;.

Sinon

SinonSpied<T>

Shorthand for sinon.SinonSpy<Parameters<T>, ReturnType<T>>;.

SinonStubbed<T>

Shorthand for sinon.SinonStub<Parameters<T>, ReturnType<T>>;.


kablamo.com.au

Keywords

FAQs

Package last updated on 26 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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