Palindrom / JSONPatcherProxy

ES6 proxy powered JSON Object observer that emits JSON patches when changes occur to your object tree.
94 stars 14 forks source link

Move method deepClone() to tests #38

Open warpech opened 5 years ago

warpech commented 5 years ago

The library contains a static method deepClone, which is only used to support tests. This method should be moved to a test helper, or completely replaced with JSON.parse(JSON.stringify()) which should be sufficient for the use cases.