Nick O'Leary
877c463494
Update to latest sinon
2021-04-09 11:22:57 +01:00
Nick O'Leary
438d51d26e
Allow nested msg properties in msg/flow/global expressions ( #2822 )
...
* Allow nested msg properties in msg/flow/global expressions
* Remove typo in RED.utils
Co-authored-by: Nick O'Leary <knolleary@users.noreply.github.com>
2021-01-27 20:32:52 +00:00
Nick O'Leary
6fb96fa3c1
Move exec and events components to util module
...
The exec and events components are common components that
are used by both runtime and registry. It makes sense to
move them into the util package.
This also adds some docs to the registry module
2020-12-07 11:49:01 +00:00
Nick O'Leary
baffe4861c
Handle undefined value in Debug view of Array and Object
...
Fixes #2696
2020-09-07 21:05:27 +01:00
Nick O'Leary
4b54a81dfd
Add test cases for setMessageProperty with non-object properties
2020-06-01 13:13:14 +01:00
dxdc
fdda29f048
Support for moment-timezone
2020-05-28 01:20:10 -05:00
dxdc
95cc8ea80d
Add missing unit test for accesses undefined environment variable from an expression
2020-05-28 00:48:11 -05:00
dxdc
18f8dde712
Add test for $moment jsonata expression
2020-05-27 23:47:04 -05:00
Nick O'Leary
0f1ca1c7cf
cloneMessage should handle undefined without throwing err
...
Fixes #2399
2020-02-06 10:05:32 +00:00
Simon Hailes
5e9e523d4c
add one line of coverage in log tests.
2019-11-02 13:21:58 +00:00
Simon Hailes
c54509df3d
additional test to cover last line in encodeObject
2019-11-02 13:03:37 +00:00
Simon Hailes
63cc9adeaa
small update to log - if toString() causes exception, then note and use util.inspect instead - prevents log from causing processes to abort through exception.
...
Add tests.
2019-11-02 12:38:40 +00:00
Simon Hailes
74d760a46d
add util.inspect data to 'type not printable'. Add test to cover these lines (no existing test).
2019-11-02 12:37:07 +00:00
Simon Hailes
d46531def8
add unit tests for encode Object changes.
2019-11-02 11:27:08 +00:00
Nick O'Leary
e4d518749f
Remove deprecated Buffer constructor usage
...
Fixes #1709
2018-10-24 13:45:34 +01:00
Nick O'Leary
38a1291c5b
Fixup all the tests
2018-08-20 16:17:24 +01:00
Nick O'Leary
998bf92ad4
Move tests to reflect package structure
2018-08-19 11:28:03 +01:00