This project aim to train on jest and on tests. The app is pretty basic but the most intesresting part are the tests
Clone project:
$ git clone [email protected]:ArthurB2077/billed.git
$ cd Billed-app-FR
Install dependencies:
$ npm install
Install a live server :
$ npm install -g live-server
Start the server :
$ live-server
Go to: http://127.0.0.1:8080/
$ npm run test
or for one test
Install jest-cli :
$npm i -g jest-cli
$jest src/__tests__/your_test_file.js
http://127.0.0.1:8080/coverage/lcov-report/