RealDevSquad / RealDevSquad/website-backend

model test for getUserDiscordInvite

Open
#1,655 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

In this PR https://github.com/Real-Dev-Squad/website-backend/pull/1553/files#diff-4d26b585b5f40ae92843b94df24f9a1f276488c741956d0b18715310154b4c27 , test for getUserDiscordInvite model is missing, as I am facing issue with stubbing the response with sinon, so creating another PR issue for it

ETA: 5/11/2023

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the getUserDiscordInvite model and the related changes in PR #1553, then locate the existing model test patterns and investigate the reported Sinon stubbing issue. Done means adding a passing model test that covers getUserDiscordInvite and follows the repository's test conventions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.