Open Karma-Tsering opened 1 month ago
take advice from Tamdin or Kunsang for how to make subtasks
list all the components and discuss with @tenkus47 .
As discussed with kunsang, I don't need to write test for AudioPlayerWithWave component.
The appinstaller component required PWA behavior to test and isolating this component is not testable for now. I will look into it along with my daily tasks and try to write a test for it.
Update the test with new code.
suggestions:
Description
We are implementing component testing for the Monlam application to ensure each component functions correctly in isolation. This involves mocking the hooks and dependencies used by the components to accurately test their behavior and output under various scenarios.
completion criteria
Render each component in isolation and mock the required dependencies. Also the test should cover all the scenarios and their edge cases
Subtasks
Since there are many components, I will start with the simpler ones and progress to the more complex ones.