Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 520 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 520 Bytes

Getting Started with Create React App

This project show how to implement text search inside an array of articles with React. Search term is highlighted when search result is shown.

Available Scripts

To run the project, please simply run:

npm start

Then enter text like 'in', 'open' ... to check results

To run unit tests written for jest (3 tests):

npm run test a

This will trigger the following tests :

  • renders Search Component
  • find articles by search
  • find only one article by search