Skip to content

Commit 8e34e05

Browse files
author
Chris Wiechmann
committed
Tests fixed
1 parent 5eec897 commit 8e34e05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api-builder-plugin-fn-xml-node/test/json2xmlTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 () => {

api-builder-plugin-fn-xml-node/test/xml2jsonTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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', () => {

0 commit comments

Comments
 (0)