RealDevSquad / RealDevSquad/website-backend

Flaky unit test in discordactions.

Open
#1,485 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

Fix flaky unit test in test\unit\models\discordactions.test.js
The test fails randomly, one such failure is attached below.

image

Test added by Bikash
image

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 with test/unit/models/discordactions.test.js and run the unit test repeatedly to reproduce the reported random failure. Inspect the attached failure details and identify the nondeterministic behavior; done means the test passes reliably across repeated runs.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.