RealDevSquad / RealDevSquad/website-backend

Cannot stub fetch function using sinon in Node 20.12.x

Open
#2,011 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

Issue Description

  • #2009
Pined node version to 20.11.x, as fetch can't be stubbed in Sinon in node 20.12.x

REF:

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

No source file or test is named. Start with issue #2009, then read the linked Sinon and Node.js issues to determine the repository change required; define the expected behavior and completion criteria before implementation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.