View Full Version : [DUP] Creating test project deletes all comments from app.json

20 Jan 2016, 11:40 AM
Not a showstopper, but annoying.

Happens when I click 'Initialize test project'. Doesn't matter which folder I do this in. I have a multi app workspace.

3 Feb 2016, 8:53 PM
Hi Glen,

Thanks for the report. It is pretty tricky to intelligently edit commented JSON but I opened a ticket to track it. Also thanks for checking out the Sencha Test Beta!

7 Mar 2016, 3:21 AM
Hi Don.I've found this too. Given the complexity of the app.json (and the quite useful comments added when you generate a project) it's a shame to have this automatically stripped out when you try to link Sencha Test to the project.Also makes me wonder what else it's opting to change without me asking it to.

13 Mar 2016, 11:21 PM
Sencha Test adds only a small bit to the app.json file but this comes from the JSON.parse/stringify sequence used to do so. Since the file is still line-oriented you can see all that changed in the source control diff - a bunch of removals and a couple insertions.