mrm-task-jest

Mrm task that adds Jest.

Supports Babel (via babel-jest) and TypeScript (via ts-jest).

What it does

  • Adds npm scripts
  • Updates .gitignore, .npmignore, .eslintignore with common patterns
  • Creates a sample test file, test.js, when the project has index.js in the root folder
  • Tries to get rid of Mocha and AVA configs and dependencies
  • Installs dependencies

Usage

npx mrm jest