New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@lamnhan/testing

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lamnhan/testing

Rewiring, mocking & stubbing for testing modules in Node.

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

@lamnhan/testing

Rewiring, mocking & stubbing for testing modules in Node.

License Support me on Patreon PayPal Ask me anything

Install globaly, as a CLI:

npm install -g @lamnhan/testing

Or localy:

npm install --save-dev @lamnhan/testing

Use the library:

import { mockService } from "@lamnhan/testing";

const mocked = mockService({
  a: () => 1,
  b: async () => 2
});

// test begins

See the documentation at: http://lamnhan.com/testing

License

@lamnhan/testing is released under the MIT license.

Keywords

testing

FAQs

Package last updated on 04 Dec 2019

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