shabados / presenter

Desktop app for presenting the Shabad OS Database on projectors, TVs, and live streams
https://shabados.com
MIT License
18 stars 15 forks source link

Set up testing environment #682

Closed ManpreetSL closed 1 month ago

ManpreetSL commented 1 year ago

Currently, the project doesn't have working test functionality. We want to be able to use Jest and React Testing Library to add unit and integration tests to the app. However, there are a few build errors such as a compatibility issue between MUI and React 18.

This PR fixes build errors, and then sets up and configures Jest and React Testing Library, along with adding some basic tests to ensure that the environment works properly.

Harjot1Singh commented 1 month ago

Sorry, please re-open this against next