Skip to content

Conversation

@ewels
Copy link
Member

@ewels ewels commented Dec 11, 2025

Alternative to #25 but using the Mocha framework. I think that this one might be more standard for Node-RED plugins.

@FloWuenne
Copy link

I agree that Mocha is probably the better choice for Node red unit tests! Let's merge this one in 🚀 !

@ewels ewels mentioned this pull request Dec 18, 2025
- Add test/workflow-poll_spec.js with 14 tests
- Add test/datalink-poll_spec.js with 18 tests
- Fix scoping bug in datalink-poll.js where intervalId was not
  accessible in close handler, preventing proper cleanup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Dec 18, 2025

🐳 Docker PR Build

Status ✅ Built successfully
Commit 0b5d5c499c43ade73acdcca6fc5dd09dc71bde15
Standard ghcr.io/seqeralabs/node-red-seqera:pr-26
Studios ghcr.io/seqeralabs/node-red-seqera-studios:pr-26

View workflow run

@ewels ewels marked this pull request as ready for review December 18, 2025 08:13
@ewels ewels merged commit 1e21281 into main Dec 18, 2025
15 checks passed
@ewels ewels deleted the ci-testing-mocha branch December 18, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants