This bounty is no longer available
Web3 DAO | hoprnet Logo

Expand API v2 tests

Organization

hoprnet

Deadline

in almost 262 years

Status

ENDED

480.33 USD

INSTRUCTIONS

<!--- Please DO NOT remove the automatically added 'new issue' label --> <!--- Provide a general summary of the issue in the Title above -->

Job Story

HOPR has recently introduced a new API (v2) served by hoprd.

The original implementation of API v2 was created by another bounty, in continuation of the previous bounty, we could like to expand and improve existing tests.

Definition of Done

  • rewrite unit tests to use a tool similar to supertest in order to be able to test at the route level, aim to have atleast >90% test coverage
  • remove possible unnecessary validations and utilize openAPI's formats
  • rewrite our E2E integration tests to use API v2, aim to have >80% test atleast coverage

Developing HOPR

What is HOPR?

Find out more about HOPR at the following links:

This bounty is part of The Bounty Program