1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/test/nodes/core/core
Antoine Aflalo ea8c6d5cce Add number of units to the delay node (rate) (#994)
* Add possibility to set the value for the rate unit

Backward compatible, if the new nbRateUnits is not set, default to 1.
This way we can delay messages to 1 msg per X seconds/minutes/hours days
instead of always 1.
Useful when interacting with API that have a uncommon rate limiting like
1req per 2 seconds.

* Fix existing testing for delay

* Add new test for the nbRateUnits

* Fix label for timed and topic for delay node

* Schrink width of Units delay rate

* pluralisation of labels

* Dynamic pluralisation respecting i18n

* Remove debug data left
2016-09-16 14:27:14 +01:00
..
20-inject_spec.js Fix inject test to use a proper type 2016-02-04 21:52:27 +00:00
25-catch_spec.js New tests for Trigger, catch and unknown nodes 2015-03-25 21:58:26 +00:00
25-status_spec.js initialise status.text to be blank string if not set. 2015-10-02 21:27:30 +01:00
58-debug_spec.js try to fix debug node non-standard object type handling. 2015-10-10 22:41:07 +01:00
75-exec_spec.js tiny changes to JSON and exec test for node6 2016-04-30 17:05:10 +01:00
80-function_spec.js Handle null return from Function node in array of messages 2016-06-06 11:40:02 +01:00
80-template_spec.js try to increase coverage for exec and template nodes 2016-04-23 17:09:46 +01:00
89-delay_spec.js Add number of units to the delay node (rate) (#994) 2016-09-16 14:27:14 +01:00
89-trigger_spec.js Update trigger node ui to use typedInputs 2016-07-05 15:39:00 +01:00
90-comment_spec.js add extra tests to debug, delay & template 2015-03-22 09:38:42 +00:00
98-unknown_spec.js New tests for Trigger, catch and unknown nodes 2015-03-25 21:58:26 +00:00