0.0.5 • Published 3 years ago

@aibulat/funtest-axios v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Using Axios/Jest/CJS to make tests for some publicly available REST APIs

Notes

  • This package is not intended to be used as a library.
  • Rather published referense code, which can be easily run
  • I might consider extracting some of techniques used here and create a tiny library later.

Warning on Node version

Why

  • Test that referense public API are actually usable from your location
  • Can be used as sample code on how to write basic tests for REST API
  • You can use it as a sort of traffic generator ))

Using:

npx @aibulat/funtest-axios@latest

Stack:

  • Javascript/CJS
  • Axios HTTP client
  • Jest test runner

Other packages

  • I have a similar package which uses TS/ESM/Jest/Supertest for same task: @aibulat/funtest