Example code for Jest testing, using api placeholder for testing.
https://meisterveda.github.io/jest-test-example/
Install jest-test-example with npm
cd jest-test-example
npm install --legacy-peer-deps
For the project a simple nodeJs was used, along with:
To use this project, just create in the root folder your tests with a .spec.js file extension and add your test cases inside, it will be run by github actions and published to github pages.
Another Usage, Inside of github fork the repo and just edit inside of github the spec.js file, it will trigger github actions to read the file and you can then view the results inside of the repos github pages