RealDevSquad / RealDevSquad/website-backend

`tdd:watch` command not working

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

When running tests using tdd:watch, Tests run for the first try, but when test files are changed, there is an error. Firestore is trying to restart the local emulator again even though it's already running and test fails

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 reproducing the failure with the tdd:watch command, changing a test file after the initial run, and inspecting the Firestore local emulator error. Done means the watch command reruns changed tests without attempting to restart an already-running emulator and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, javascript, node.js
Domain
backend, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.