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

gen-jest-test

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gen-jest-test

simple cli utility to make ts/js test.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

gen jest test

simple cli utility to make ts/js test.

npm install -g generate-jest-test

cat ./src/fn.js

export const func = i => i;

generate-jest-test ./src/fn.js

echo "describe('[func]', () => {})" >> src/__test__/fn.test.js

It will resolve the names correctly as of the bracket.

0.0.2 added function --aftercmd so just write --aftercmd webstorm. to open test file automatically.

0.0.1 init commit.

Keywords

cli

FAQs

Package last updated on 22 Apr 2017

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