zillow / react-slider

Accessible, CSS agnostic, slider component for React.
https://zillow.github.io/react-slider
MIT License
891 stars 232 forks source link

Add test harness #135

Closed Mike-Bell closed 5 years ago

Mike-Bell commented 6 years ago

The goal of this PR is to address https://github.com/mpowaga/react-slider/issues/126 by contributing a test harness. The test harness is hosted by webpack-dev-server. The harness was created mostly from the existing index.html, but rewritten in a more "modern" style, with JSX, ES6, sub-components, and using webpack and babel to roll it up.

This also (perhaps) shows more "realistic" usages with "modern" tooling like babel.

To run the harness, simply run an npm install and then npm run dev. You should get a slick hot-reloading test harness.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stonebk commented 5 years ago

We migrated to create-react-styleguide which includes a dev server and testing with jest.