jest-scaffolder
opinionated scaffolder for Jest
Table of Contents
Usage
Installation
$ npm install @form8ion/jest-scaffolder --save-prod
Features
- Includes jest-when since the mocks built into Jest do not enable conditional returns and can encourage behavior that relies on side effects
Example
Import
import {scaffold} from '@form8ion/jest-scaffolder';
Execute
(async function example() {
await scaffold({projectRoot: process.cwd()});
}());
Contributing
Dependencies
$ nvm install
$ npm install
Verification
$ npm test