jprichardson / jprichardson/node-suppose

suppose-stream does not use the configured expect and response on the first data event

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
255
Forks
23
PR merge metrics
No merged PRs in 30d

Description

On the first data event, suppose-stream uses the initial value (empty string) for expect and response. It matches to true but shifts the expect/response sequence.

Initializing needNew to true (as it is in suppose-process) should fix the problem.

Contributor guide

No contributing guide indexed for this repository

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

Inspect the suppose-stream entry point and compare its initialization with suppose-process, as the issue suggests. Verify the first data event uses the configured expect and response values and that the expect/response sequence no longer shifts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.