Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create unit tests for /packages/api #326

Open
NicoSerranoP opened this issue Sep 5, 2024 · 1 comment
Open

Create unit tests for /packages/api #326

NicoSerranoP opened this issue Sep 5, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@NicoSerranoP
Copy link
Member

Motivation

We are moving all the p0tion coordinator infrastructure to a single server application (API). This new API was built using NestJS and we are missing unit tests.

Details

Write unit tests for each route (endpoint) in the different modules (auth, ceremonies, circuits, participants, storage and users). Remember to check the following:

  1. There is some data (circuits, zkeys, etc) that could be used from @actions or duplicate it into /api
  2. The functions should finalize correctly in normal scenarios
  3. Some unit tests might require concurrent requests to check everything works as expected
@NicoSerranoP NicoSerranoP added the good first issue Good for newcomers label Sep 5, 2024
@NicoSerranoP NicoSerranoP changed the title Create unit test for /packages/api Create unit tests for /packages/api Sep 5, 2024
@NathaliaBarreiros
Copy link

Hey @NicoSerranoP!

I'm interested in this issue and would like to request assignment. Let you know if I have any question.

@NathaliaBarreiros NathaliaBarreiros mentioned this issue Sep 13, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants