Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 686 Bytes

README.md

File metadata and controls

36 lines (21 loc) · 686 Bytes

Google Wikipedia Api search with Storybook and JEST

Installation

# install dependencies
npm install

# run Storybook
npm run storybook

# build Storybook
npm run build-storybook

# run project
npm start

#run test coverage report
npm run test:ci

StoryBook runs on localhost:6006

img

Code Coverage Report

After you run npm run test:ci, it will create a coverage folder. From there, navigate into src/index.html see the report. When you update the tests, delete the coverage report and run npm run test:ci again, it will update the report.

img

img

img