File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
api-builder-plugin-fn-xml-node/test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ describe('json2xmlTest', () => {
4848 expect ( output ) . to . equal ( 'error' ) ;
4949 expect ( value ) . to . be . instanceOf ( Error )
5050 . and . to . have . property ( 'message' ) ;
51- expect ( value . message ) . to . include ( 'Failed to convert JSON into XML. Error: The JSON structure is invalid ' ) ;
51+ expect ( value . message ) . to . include ( 'Failed to convert JSON into XML. Error: Unexpected token ] in JSON at position 92 ' ) ;
5252 } ) ;
5353
5454 it ( 'should fail with an empty Javascript object' , async ( ) => {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ describe('xml2jsonTest', () => {
2121
2222 // Ensure the flow-node matches the spec
2323 expect ( flowNode . name ) . to . equal ( 'XML' ) ;
24- expect ( flowNode . description ) . to . equal ( 'Provides support to handle XML-Payload' ) ;
24+ expect ( flowNode . description ) . to . equal ( 'Provides support to handle XML-Payload. To learn more please read: https://github.com/nashwaan/xml-js ' ) ;
2525 } ) ;
2626
2727 it ( 'should define valid flow-nodes' , ( ) => {
You can’t perform that action at this time.
0 commit comments