Skip to content

PaolaSantolloV/react-apprenticeship-search-exercise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search Exercise for Testing Module

How To

  • Create a fork of this repository
  • Clone your fork locally
  • Open folder and on the terminal, run npm i
  • Once it's finished, you can run npm test to make sure everything is working correctly

Exercise

Given a list of requirements for a Search component, create said component following TDD mindset. All tests can be added on Search.test.js and the implementation on Search.js

Requirements

  • The result list will only change once the Search button is pressed
  • It can’t send an empty search
  • It needs to show at most 3 results

UI mockup of search component that includes an input with the value "Luke Skywalker", a search button and a list item with the value "Luke Skywalker"

About

Search Exercise for Testing Module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.4%
  • HTML 36.1%
  • CSS 19.5%