-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Andowinger add median #896
base: master
Are you sure you want to change the base?
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
grunt
to verify the unit tests pass