Do you know any app/script that can generate jest test based on import JSON file for that file structure? I would give a json file to this script, and it would generate all expected('jsonData').to.have.nested.property('a.b.f.g[0].h.[1]'); expected('jsonData').to.have.nested.property('c[0].as[1]');
background: I'm creating jest tests for a REST api that returns a very big JSON. This current structure is valid, I would use this correct structure to generate the test.
Aucun commentaire:
Enregistrer un commentaire