node-red / nrlint

Node-RED Flow Linter
Apache License 2.0
36 stars 15 forks source link

First attempt to add a simple test #29

Open andreasmarkussen opened 2 years ago

andreasmarkussen commented 2 years ago

This is an attempt to add a very simple unit test to the nrlint rules section of NR Lint.

I have not added it to Dev,

Proposed changes

This is my first attempt at creating a simple unit test for NR Lint rules.

Checklist

linux-foundation-easycla[bot] commented 2 years ago

CLA Signed

The committers are authorized under a signed CLA.

knolleary commented 2 years ago

Thanks for the PR @andreasmarkussen.

As we don't currently have any unit tests in this repo we first need to get the basic structure in place for how we want to arrange the tests.

I'm keen that we have some consistency with the other repos in the node-red org. On that basis, I'd suggest: