mrm-task-jest

Mrm task that adds Jest

Usage no npm install needed!

<script type="module">
  import mrmTaskJest from 'https://cdn.skypack.dev/mrm-task-jest';
</script>

README

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

Changelog

The changelog can be found in CHANGELOG.md.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin and contributors.

MIT License, see the included License.md file.