meisterveda / jest-test-example

A Jest Testing Setup, using github actions to run everything on the repository itself.

Home Page:https://meisterveda.github.io/jest-test-example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jest Test Example

Example code for Jest testing, using api placeholder for testing.

Github Pages with Jest Results

https://meisterveda.github.io/jest-test-example/

Installation

Install jest-test-example with npm

  cd  jest-test-example
  npm install --legacy-peer-deps
  

Tools Used

For the project a simple nodeJs was used, along with:

Usage/Examples

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

About

A Jest Testing Setup, using github actions to run everything on the repository itself.

https://meisterveda.github.io/jest-test-example/

License:GNU General Public License v3.0


Languages

Language:JavaScript 57.3%Language:HTML 42.7%