@rockpack/tester

4.2.0 • Public • Published

Rockpack

@rockpack/tester

@rockpack/tester is Jest with cool config, add-ons and fully compatible with TS / Babel.

@rockpack/tester includes several recommended modules and a test report generator.

@rockpack/tester this module is part of the Rockpack project. See more details on the official site.

Add-ons:

Reporter:

Using

  1. Installation:
# NPM
npm install @rockpack/tester --save-dev

# YARN
yarn add @rockpack/tester --dev
  1. Make tests.js in the root of project

  2. Put the code in tests.js

const tests = require('@rockpack/tester');

tests();
  1. Run the script
node tests.js

or DEV mode

node tests.js --watch
  1. Create something.spec.js in src folder of the project and write Jest test

Please see "examples" folder - here

The MIT License

MIT

/@rockpack/tester/

    Package Sidebar

    Install

    npm i @rockpack/tester

    Weekly Downloads

    6

    Version

    4.2.0

    License

    MIT

    Unpacked Size

    11.7 kB

    Total Files

    19

    Last publish

    Collaborators

    • alexsergey