Jest Unit Test Scaffolder

Jest Unit Test Scaffolder

agentskillexchange Updated 28 repo stars

File contents

Jest Unit Test Scaffolder

Installation

Use the upstream install or setup path that matches your environment:

  • yarn add --dev jest
  • npm install --save-dev jest
  • Finally, run yarn test or npm test and Jest will print this message:
  • yarn create jest

Requirements and caveats from upstream:

  • const sum = require('./sum');
  • Configure Babel to target your current version of Node by creating a babel.config.js file in the root of your project:

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/jest-unit-test-scaffolder commit 9a9f576b49

Frequently asked questions

npx skillmds@latest add agentskillexchange/jest-unit-test-scaffolder