{ "id": "169503", "key": "TIMOB-25149", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-08-11T16:22:40.000+0000", "epic": { "id": 169441, "key": "TIMOB-25087", "name": "Mocha test failures", "summary": "Mocha test: Address unit test failures", "color": { "key": "color_4" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule", "failure-reviewed" ], "versions": [], "issuelinks": [ { "id": "57569", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "173532", "key": "TIMOB-27024", "fields": { "summary": "iOS: Mocha test Titanium.XML xmlCData test failure", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-02T18:16:58.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Titanium.XML xmlCData please investigate the failure. \r\rPlease use https://github.com/ewanharris/titanium-mobile-mocha-suite/tree/TIMOB-24816 to find the related test\rYou can use https://github.com/ewanharris/mocha-test to quickly debug (most) mocha tests)", "attachment": [], "flagged": false, "summary": "Windows: Mocha test Titanium.XML xmlCData test failure", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "427513", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "First issue is that we need to be either removing newlines from the string or checking for them here https://github.com/ewanharris/titanium-mobile-mocha-suite/blob/4b75b3f057ad8771bc0d0f2ebf249096462a9207/Resources/ti.xml.test.js#L278\r\n\r\nThen we hit the comments in the tests\r\n\r\nhttps://github.com/ewanharris/titanium-mobile-mocha-suite/blob/4b75b3f057ad8771bc0d0f2ebf249096462a9207/Resources/ti.xml.test.js#L307 should throw\r\n\r\n\"error\":{\"name\":\"AssertionError\",\"operator\":\"to throw exception\",\"message\":\"expected [Function] to throw exception\",\"generatedMessage\":true,\"stack\":\"/should.js:1411:20\\n/your-test.js:106:11\\nrun@/ti-mocha.js:4363:19\\nrunTest@/ti-mocha.js:4768:13\\n/ti-mocha.js:4846:19\\nnext@/ti-mocha.js:4693:16\\n/ti-mocha.js:4703:11\\nnext@/ti-mocha.js:4641:25\\n/ti-mocha.js:4670:9\\ntimeslice@/ti-mocha.js:5777:27\"}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-09-01T14:22:47.000+0000", "updated": "2017-09-01T14:22:47.000+0000" }, { "id": "447870", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Same as above", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-04-23T11:04:26.000+0000", "updated": "2019-04-23T11:04:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }