Skip to content

[BE] Use native node.js promise #1191

@alexanmtz

Description

@alexanmtz

✏️ Summary

Replace Bluebird promises for native js promises in all modules

📋 Description

We're using Bluebird promises in modules like here: https://github.com/worknenjoy/gitpay/blob/master/modules/users/userAccount.js, and we want to replace with native JS promises as discussed here:
#978

We have a lot of API tests, so the tests should continue to pass, and no extra tests are needed for this.

🔍 Steps to Reproduce (or trigger)

  1. Run the project locally
  2. Run the Node server
  3. Run the front-end server
  4. Create a user

Check how to run the project locally here: https://github.com/worknenjoy/gitpay/blob/master/README.md

✅ Expected Behavior

The tests should continue to pass, and the platform should continue working as it is today

🛠️ Stack Affected

Node.js

💰 Is there a bounty for this issue?

No

📜 Bounty Details (if applicable)

This issue is not part of our bounty program and you should work on it as a contributor.

For starter contributor, it could be a good chance to get your PR reviewed and get some experience

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions