@aibulat/funtest

0.0.15 • Public • Published

Using supertest 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.

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 ))

Stack

  • Typescript
  • Jest
  • Supertest
  • ESBuild
  • ESM modules

Use

npx @aibulat/funtest@latest

Package Sidebar

Install

npm i @aibulat/funtest

Weekly Downloads

3

Version

0.0.15

License

MIT

Unpacked Size

34.1 kB

Total Files

21

Last publish

Collaborators

  • aibulat