1.0.5 • Published 5 years ago

check-state v1.0.5

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

Test redux state easily

The CLI tool for testing selectors in your application.

Installation

To installing this package just run:

npm i check-state -g

Configuration

For running test you need 2 configuration files:

Important! You need to put configs to /src folder of your project.

Example checkState.config.js

import {
  selectSomething,
  selectIsSomethingExist,
} from "./store/something/selectors";
import {
  selectSomethingElse,
  selectFirstSomethingElse,
} from "./store/somethingElse/selectors";

export {
  selectSomething,
  selectIsSomethingExist,
  selectSomethingElse,
  selectFirstSomethingElse,
};

This file you also need for using our Chrome extension, because we will run all selectors in extension for preparing app.checkState.json file.

Running

When all configs are prepared you can jus run: check-state start

Read more

You can read more about this idea on my website: http://wastecleaner.im/check-state