Sample of API test creating by Jest framework and Supertest library.
Resource - https://vpic.nhtsa.dot.gov
git clone https://github.com/loboykois/api_tests_samples.git
npm install --save-dev jest
npm install supertest --save-dev
npm test
Don't judge me harshly, I'm just getting started! If you have a suggestions on how to improve my code? Text me here. Thanks!