Open zavr-1 opened 5 years ago
When JSON is written, some fields will be lost, which are reported as missing on the snapshot test when the actual data has not yet lost them. Do JSON.parse(JSON.stringify(res)) before comparing to the snapshot.
JSON.parse(JSON.stringify(res))
When JSON is written, some fields will be lost, which are reported as missing on the snapshot test when the actual data has not yet lost them. Do
JSON.parse(JSON.stringify(res))
before comparing to the snapshot.