lyonjs/shortvid.io

๐Ÿ’ก Implement React Testing Library

CruuzAzul opened this issue ยท 1 comments

Feature Request ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป

Implement React Testing Library for project testing ๐Ÿงช

Use Case โœ๐Ÿผ

As developers, we want to ensure the stability and reliability of our project by implementing a robust testing framework. By introducing React Testing Library, we aim to facilitate the testing process and improve the overall quality of our codebase.

Possible Solution ๐Ÿ’ก

  1. Install React Testing Library as a project dependency.
  2. Create separate folders for the tests.
  3. Integrate testing into the project's development workflow.
  4. List all current components that need to be tested (make US ๐Ÿท๏ธ)

Components To Test :
/App

  • Header
  • Footer
  • NavBar
  • LayerByMode
  • CopyUrlButton
  • Code
  • ActiveLink
  • /utils
    • encodedObjectValues
    • formatUrlWithQuery
    • loadFont
  • /hooks
    • useInputChange
    • useInputDateChange
    • useSelectedFont
  • /forms
    • colorInput
    • FontPicker
    • input
    • inputDate
    • selectInput

/remotion

  • /molecules
    • AvatarWithCaption
    • IconWithCaption
    • TalkDetails