morsdyce / mimic

Seamless client side mocking
https://mimic.js.org
MIT License
395 stars 37 forks source link

When duplicating a mock, editing changes the original mock #284

Closed morsdyce closed 3 years ago

ghost commented 4 years ago

I'll take this one. Seems that we need to use cloneDeep in duplicateMock function.

ghost commented 4 years ago

Fixed in 54ac086. Can be closed.

morsdyce commented 3 years ago

merged to master and released as a beta release