node-red / node-red/node-red.github.io

Unit testing sample code doesn't match test-helper

Open
#328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
118
Forks
161
Avg merge
8h 18m
Merged PRs (30d)
4

Description

The Unit testing documentation: https://nodered.org/docs/creating-nodes/first-node#unit-testing
doesn’t match the current helper lib: https://github.com/node-red/node-red-node-test-helper

... pr coming

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

Start with the Unit testing section in the Node-RED documentation and compare its sample code with the current node-red-node-test-helper repository. Identify the API differences and update the sample so it matches the helper; done means the documentation example is consistent with the current helper.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.