oceanprotocol-archive / oceandao-proposal-portal

OceanDao proposal portal
0 stars 1 forks source link

Implement first-pass of a Jest/Mongo/Test coverage #130

Open idiom-bytes opened 2 years ago

idiom-bytes commented 2 years ago

Problem:

Right now the portal has basically no test coverage, all testing and verification have been done manually.

Towards a solution:

Setting up test coverage will take a long time, and it's not straightforward. Let's get 1 test that sets up mongo records, and is able to validate that 1 or 2 functions inside of a single router function is tested properly.

DoD: