Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.28 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.28 KB

he-react-ui

Build Status Coverage Status

Clean stateless react UI components built for https://healthengine.com.au

Explore components

react-cosmos is used as development environment for UI components. Go to https://healthengineau.github.io/he-react-ui/ to view

Or to use locally, run

yarn cosmos

and then head to localhost:8989

Command Line Commands

Install

yarn add he-react-ui

or with npm

npm install --save he-react-ui

Unit testing

yarn test

Tests your application with the unit tests specified in the **/tests/*.js files throughout the application.
All the test commands allow an optional [string] argument to filter the tests run by Jest.

# Run only the Button component tests
npm test -- Button

Watching

yarn test:watch

Watches changes to your application and re-runs tests whenever a file changes.