git clone https://github.com/vsshk/javascript-jest-axios-example-simple.git
cd javascript-jest-axios-example-simple
Install Jest and Axios using yarn:
yarn add --dev jest
yarn add axios
Or npm:
npm install --save-dev jest
npm install axios
Finally, run
yarn test
or
npm run test
- Please give a "star" if it helped you.