Fix table substitution not work in node-red
Reproduce The Error
- Install xlsx-template in node-red (3.0.2)
- Run substitution table with data is array.
- Table not generate in output.
Input:
Output:
Resolution: After debug source code i see substitution instanceof Array not work in node-red. I and update function check Array by Array.isArray() and it work ok.
Can I ask you to add test for your scenario?
Can I ask you to add test for your scenario?
I know unit test need for any function. But it only change function check array and i see old testing passed. So I think not need to write more test for this case.
Btw, If you think I need add unit test please tell me. I will add test for this scenario. Sorry for my English not good.
I think we should try setup CI for node-red then. Are you know any examples on opensource projects how to do that, or article that would be helpful.