Conversation
|
Added "median" option to the Smooth function filters |
|
Looks good - would be great if you could add some tests to tests/function/17-smooth_spec.js as well... Thanks |
Ok, I will try to do that soon |
|
@dceejay I added a test, but I don't know how to run the test: At least installing the two required modules and running a node .\17-smooth_spec.js didnot work since describe is not defined. I guess I would need to install a real test environment or something. |
|
Hi @andowinger - If you have mocha installed you should be able to run (at the top directory level of the overall project) Then optionally you could run |
|
Hey @dceejay
I am using node with Windows. I guess I should set up a VM with a Linux distribution and retry it... I will do this within the next few days - except that you now by any chance the reason for this error and how to fix it. |
Types of changes
Proposed changes
https://discourse.nodered.org/t/feature-request-smooth-add-median-filter-to-node-red-node-smooth/60359
Checklist
gruntto verify the unit tests pass