Navigation Menu

Skip to content

glrodasz/storybook-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storybook Sample App

Sample project to play with React Storybook and snapshot testing. Demo available at https://glrodasz.github.io/storybook-sample/.

It contains examples for performing structural test on the same component using:

To run it locally

Install

npm i

Installs dependencies

Run storybook

npm run storybook

Runs the Storybook in the development mode. Open http://localhost:6006 to view it in the browser. The page will reload if you make edits.

Run tests

npm test

Launches the test runner in the interactive watch mode.

Build static version of Storybook

npm run build-storybook

Generates a static version of the Storybook and puts it in the .out folder.

Deploy Storybook

npm run deploy-storybook

Deploys the Storybook to GitHub Pages.


This project was bootstrapped with Create React App.

Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.

About

Sample App for playing with Storybook & Storyshots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.4%
  • HTML 13.8%
  • CSS 2.8%